summaryrefslogtreecommitdiff
path: root/gdb/exec.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-07-22 20:51:10 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-07-22 20:51:10 +0000
commitcdf3101ddfebd0ed897ed47369507871ffd6f79a (patch)
tree2d9434fec4bc9952aaa5582ce61d9d63c5409833 /gdb/exec.h
parent9e7ce349fddc2284e3851a2d0674c92d6164bdac (diff)
downloadgdb-cdf3101ddfebd0ed897ed47369507871ffd6f79a.tar.gz
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 f5a4077ab30..21ccba8c68b 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);