aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-05-11 19:57:17 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-05-11 19:57:17 +0000
commit1c7724581e56a7cda4dd412b88eabe51e33b0507 (patch)
tree81f0a22f8d4bbeb17a7a8f890cba798f43862207 /gdb/symfile.h
parent06d3b283b148a3ab8ff85a50fb127973524e700c (diff)
downloadgdb-1c7724581e56a7cda4dd412b88eabe51e33b0507.zip
gdb-1c7724581e56a7cda4dd412b88eabe51e33b0507.tar.gz
gdb-1c7724581e56a7cda4dd412b88eabe51e33b0507.tar.bz2
* gdbarch.sh (overlay_update): New gdbarch function.
(struct obj_section): Add forward declaration. * gdbarch.c, gdbarch.h: Regenerate. * symfile.c (simple_overlay_update): Make global. (target_overlay_update): Remove variable. (overlay_is_mapped): Call gdbarch_overlay_update instead of target_overlay_update. (overlay_load_command): Likewise. * symfile.h (struct obj_section): Add forward declaration. (simple_overlay_update): Add prototype. * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index e28b75b..b24acc1 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -29,6 +29,7 @@
/* Opaque declarations. */
struct section_table;
struct objfile;
+struct obj_section;
struct obstack;
struct block;
@@ -306,6 +307,9 @@ extern void symbol_file_add_main (char *args, int from_tty);
/* Clear GDB symbol tables. */
extern void symbol_file_clear (int from_tty);
+/* Default overlay update function. */
+extern void simple_overlay_update (struct obj_section *);
+
extern bfd_byte *symfile_relocate_debug_section (bfd *abfd, asection *sectp,
bfd_byte * buf);