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/frame-unwind.h | |
parent | a2ce2e563724c710bcaeaa361ec61446a599060b (diff) | |
download | gdb-12cc2063bed3b79f2a3e92342e92dc6211a3bf12.zip gdb-12cc2063bed3b79f2a3e92342e92dc6211a3bf12.tar.gz gdb-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/frame-unwind.h')
-rw-r--r-- | gdb/frame-unwind.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/frame-unwind.h b/gdb/frame-unwind.h index 2c67c96..7f4a866 100644 --- a/gdb/frame-unwind.h +++ b/gdb/frame-unwind.h @@ -69,12 +69,6 @@ typedef void (frame_unwind_reg_ftype) (struct frame_info * frame, CORE_ADDR *addrp, int *realnump, void *valuep); -/* Same as for registers above, but return the address at which the - calling frame would resume. */ - -typedef CORE_ADDR (frame_unwind_pc_ftype) (struct frame_info * frame, - void **unwind_cache); - /* Same as for registers above, but return the ID of the frame that called this one. */ @@ -103,7 +97,6 @@ struct frame_unwind /* Should an attribute indicating the frame's address-in-block go here? */ frame_unwind_pop_ftype *pop; - frame_unwind_pc_ftype *pc; frame_unwind_id_ftype *id; frame_unwind_reg_ftype *reg; }; |