aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-07-22 20:51:11 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-07-22 20:51:11 +0000
commit046ac79fc7a2417eb1e0e00bc496ff51a505d037 (patch)
treeb95a3cdf89ba73dea3a4e5f1a2660f20d28431ec /gdb/exec.h
parent632a40b341926ceac065d00bf38fab366599ccff (diff)
downloadgdb-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/exec.h b/gdb/exec.h
index f5a4077..21ccba8 100644
--- a/gdb/exec.h
+++ b/gdb/exec.h
@@ -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);