diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-03-12 15:39:30 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-03-12 15:39:30 +0000 |
commit | 7a25a7c1cc419c2f4106843387e0c8be92471523 (patch) | |
tree | e5d344262a55505f1431211070aed2ee1a9667bf /gdb/sentinel-frame.c | |
parent | c4d8feb262fa437232fb144da11b9f449d3b7715 (diff) | |
download | gdb-7a25a7c1cc419c2f4106843387e0c8be92471523.zip gdb-7a25a7c1cc419c2f4106843387e0c8be92471523.tar.gz gdb-7a25a7c1cc419c2f4106843387e0c8be92471523.tar.bz2 |
2003-03-12 Andrew Cagney <cagney@redhat.com>
Eliminate the need for POP_FRAME.
* frame.c (do_frame_unwind_register): New function.
(frame_pop): When no POP_FRAME, pop the frame using register
unwind and a scratch regcache.
(frame_saved_regs_pop): Delete function.
(trad_frame_unwinder): Update.
* d10v-tdep.c (d10v_frame_pop): Delete function.
(d10v_frame_unwind): Update.
* sentinel-frame.c (sentinel_frame_pop): Delete function.
(sentinel_frame_unwinder): Update.
* dummy-frame.c (dummy_frame_pop): Delete function.
(dummy_frame_unwind): Update.
* frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
(struct frame_unwind): Update.
Diffstat (limited to 'gdb/sentinel-frame.c')
-rw-r--r-- | gdb/sentinel-frame.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/sentinel-frame.c b/gdb/sentinel-frame.c index 2b1616a..961e030 100644 --- a/gdb/sentinel-frame.c +++ b/gdb/sentinel-frame.c @@ -83,17 +83,8 @@ sentinel_frame_id_unwind (struct frame_info *frame, id->pc = read_pc (); } -static void -sentinel_frame_pop (struct frame_info *frame, - void **cache, - struct regcache *regcache) -{ - internal_error (__FILE__, __LINE__, "Function sentinal_frame_pop called"); -} - const struct frame_unwind sentinel_frame_unwinder = { - sentinel_frame_pop, sentinel_frame_id_unwind, sentinel_frame_register_unwind }; |