diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-03-10 15:28:41 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-03-10 15:28:41 +0000 |
commit | 12cc2063bed3b79f2a3e92342e92dc6211a3bf12 (patch) | |
tree | c65dc866e40ffdd0796020c984da78caaa0d9565 /gdb/sentinel-frame.c | |
parent | a2ce2e563724c710bcaeaa361ec61446a599060b (diff) | |
download | binutils-12cc2063bed3b79f2a3e92342e92dc6211a3bf12.zip binutils-12cc2063bed3b79f2a3e92342e92dc6211a3bf12.tar.gz binutils-12cc2063bed3b79f2a3e92342e92dc6211a3bf12.tar.bz2 |
2003-03-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (gdbarch_unwind_pc): New method.
* gdbarch.h, gdbarch.c: Regenerate.
* frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
but use read_pc and FRAME_SAVED_PC as fall backs.
(frame_saved_regs_pc_unwind): Delete function.
(trad_frame_unwinder): Update.
* frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
(struct frame_unwind): Update.
* dummy-frame.c (dummy_frame_pc_unwind): Delete function.
(dummy_frame_unwind): Update.
* sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
(sentinel_frame_unwinder): Update.
* d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
(d10v_frame_unwind): Update.
(d10v_unwind_pc): New function.
(d10v_gdbarch_init): Set unwind_pc.
Index: doc/ChangeLog
2003-03-10 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Cross reference
FRAME_SAVED_PC to unwind_pc. Document unwind_pc.
Diffstat (limited to 'gdb/sentinel-frame.c')
-rw-r--r-- | gdb/sentinel-frame.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/sentinel-frame.c b/gdb/sentinel-frame.c index fe11d8a..2b1616a 100644 --- a/gdb/sentinel-frame.c +++ b/gdb/sentinel-frame.c @@ -70,17 +70,6 @@ sentinel_frame_register_unwind (struct frame_info *frame, } } -CORE_ADDR -sentinel_frame_pc_unwind (struct frame_info *frame, - void **cache) -{ - /* FIXME: cagney/2003-01-08: This should be using a per-architecture - method that doesn't suffer from DECR_PC_AFTER_BREAK problems. - Such a method would take unwind_cache, regcache and stop reason - parameters. */ - return read_pc (); -} - void sentinel_frame_id_unwind (struct frame_info *frame, void **cache, @@ -105,7 +94,6 @@ sentinel_frame_pop (struct frame_info *frame, const struct frame_unwind sentinel_frame_unwinder = { sentinel_frame_pop, - sentinel_frame_pc_unwind, sentinel_frame_id_unwind, sentinel_frame_register_unwind }; |