diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-07-22 20:51:11 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-07-22 20:51:11 +0000 |
commit | 046ac79fc7a2417eb1e0e00bc496ff51a505d037 (patch) | |
tree | b95a3cdf89ba73dea3a4e5f1a2660f20d28431ec /gdb/exec.h | |
parent | 632a40b341926ceac065d00bf38fab366599ccff (diff) | |
download | gdb-046ac79fc7a2417eb1e0e00bc496ff51a505d037.zip gdb-046ac79fc7a2417eb1e0e00bc496ff51a505d037.tar.gz gdb-046ac79fc7a2417eb1e0e00bc496ff51a505d037.tar.bz2 |
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.
Diffstat (limited to 'gdb/exec.h')
-rw-r--r-- | gdb/exec.h | 6 |
1 files changed, 3 insertions, 3 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); |