OSDN Git Service

* gdbarch.sh (overlay_update): New gdbarch function.
authoruweigand <uweigand>
Fri, 11 May 2007 19:57:16 +0000 (19:57 +0000)
committeruweigand <uweigand>
Fri, 11 May 2007 19:57:16 +0000 (19:57 +0000)
commite88e138aaead0c2591a64e9283afbbb7d92de00c
treec98a5e743347cebc8a38097a0c752f60b12b4780
parentfe98f2887c66270c661663df4f3d0cef814e4aaa
* 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