2013-07-22 Doug Evans <dje@google.com>
gdb/ * exec.h (remove_target_sections): Delete arg abfd. * exec.c (remove_target_sections): Delete arg abfd. (exec_close): Update call to remove_target_sections. * solib.c (update_solib_list): Ditto. (reload_shared_libraries_1): Ditto. (clear_solib): Ditto, and unconditionally call remove_target_sections.
This commit is contained in:
parent
632a40b341
commit
046ac79fc7
5 changed files with 31 additions and 19 deletions
|
@ -81,14 +81,14 @@ extern int section_table_xfer_memory_partial (gdb_byte *, const gdb_byte *,
|
|||
/* Set the loaded address of a section. */
|
||||
extern void exec_set_section_address (const char *, int, CORE_ADDR);
|
||||
|
||||
/* Remove all target sections taken from ABFD. */
|
||||
/* Remove all target sections owned by OWNER. */
|
||||
|
||||
extern void remove_target_sections (void *key, bfd *abfd);
|
||||
extern void remove_target_sections (void *owner);
|
||||
|
||||
/* Add the sections array defined by [SECTIONS..SECTIONS_END[ to the
|
||||
current set of target sections. */
|
||||
|
||||
extern void add_target_sections (void *key,
|
||||
extern void add_target_sections (void *owner,
|
||||
struct target_section *sections,
|
||||
struct target_section *sections_end);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue