aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-08-22 15:01:50 +0000
committerTom Tromey <tromey@redhat.com>2012-08-22 15:01:50 +0000
commited9eebafbc78ba83d01230609016411c065b499f (patch)
treeed52a3d18d8812f9f5c7c91cf5be9c8cf5731867 /gdb/exec.h
parentb4893d482803eb1c4241ff751193fdcf0bf6650c (diff)
downloadbinutils-ed9eebafbc78ba83d01230609016411c065b499f.zip
binutils-ed9eebafbc78ba83d01230609016411c065b499f.tar.gz
binutils-ed9eebafbc78ba83d01230609016411c065b499f.tar.bz2
* exec.c (exec_close, exec_file_attach): Update.
(add_to_section_table): Initialize 'key' field. (add_target_sections, remove_target_sections): Add 'key' argument. * exec.h (add_target_sections, remove_target_sections): Add 'key' argument. * solib.c (solib_map_sections, update_solib_list, clear_solib) (reload_shared_libraries_1): Update. * target.h (struct target_section) <key>: New field.
Diffstat (limited to 'gdb/exec.h')
-rw-r--r--gdb/exec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/exec.h b/gdb/exec.h
index a0f9eab..c5bb2a8 100644
--- a/gdb/exec.h
+++ b/gdb/exec.h
@@ -83,12 +83,13 @@ extern void exec_set_section_address (const char *, int, CORE_ADDR);
/* Remove all target sections taken from ABFD. */
-extern void remove_target_sections (bfd *abfd);
+extern void remove_target_sections (void *key, bfd *abfd);
/* Add the sections array defined by [SECTIONS..SECTIONS_END[ to the
current set of target sections. */
-extern void add_target_sections (struct target_section *sections,
+extern void add_target_sections (void *key,
+ struct target_section *sections,
struct target_section *sections_end);
/* Prints info about all sections defined in the TABLE. ABFD is