* gdbarch.sh (overlay_update): New gdbarch function.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 11 May 2007 19:57:17 +0000 (19:57 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 11 May 2007 19:57:17 +0000 (19:57 +0000)
commit1c7724581e56a7cda4dd412b88eabe51e33b0507
tree81f0a22f8d4bbeb17a7a8f890cba798f43862207
parent06d3b283b148a3ab8ff85a50fb127973524e700c
* 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.
gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/m32r-tdep.c
gdb/symfile.c
gdb/symfile.h