diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-11 19:57:17 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-11 19:57:17 +0000 |
commit | 1c7724581e56a7cda4dd412b88eabe51e33b0507 (patch) | |
tree | 81f0a22f8d4bbeb17a7a8f890cba798f43862207 /gdb/m32r-tdep.c | |
parent | 06d3b283b148a3ab8ff85a50fb127973524e700c (diff) | |
download | gdb-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/m32r-tdep.c')
-rw-r--r-- | gdb/m32r-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c index fa40064..45b72db 100644 --- a/gdb/m32r-tdep.c +++ b/gdb/m32r-tdep.c @@ -963,6 +963,9 @@ m32r_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* Hook in the default unwinders. */ frame_unwind_append_sniffer (gdbarch, m32r_frame_sniffer); + /* Support simple overlay manager. */ + set_gdbarch_overlay_update (gdbarch, simple_overlay_update); + return gdbarch; } |