aboutsummaryrefslogtreecommitdiff
path: root/gdb/dummy-frame.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-31 21:41:50 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-31 21:41:50 +0000
commitc1bf6f652724207f32494a8304ca7693148d0e3d (patch)
tree907d91058b413c1f27cc6ec4343ecbf05161c684 /gdb/dummy-frame.c
parent5a5effe17e500b03713f965a12b0c5bb7345c838 (diff)
downloadgdb-c1bf6f652724207f32494a8304ca7693148d0e3d.zip
gdb-c1bf6f652724207f32494a8304ca7693148d0e3d.tar.gz
gdb-c1bf6f652724207f32494a8304ca7693148d0e3d.tar.bz2
2004-07-31 Andrew Cagney <cagney@gnu.org>
* frame.h (legacy_saved_regs_unwind) (legacy_frame_chain_valid, legacy_frame_p) (enum frame_type): Delete UNKNOWN_FRAME. * dummy-frame.c (dummy_frame_this_id): * frame-unwind.c (frame_unwind_find_by_frame): * frame.c (struct frame_info): Delete the field "type". (legacy_saved_regs_prev_register, legacy_get_prev_frame) (legacy_saved_regs_this_id, legacy_saved_regs_unwinder) (legacy_saved_regs_unwind, legacy_frame_p) (frame_type_from_pc): Delete. (get_frame_id, frame_pop, frame_register_unwind, get_prev_frame_1) (fprint_frame, create_new_frame, fprint_frame_type): Simplify.
Diffstat (limited to 'gdb/dummy-frame.c')
-rw-r--r--gdb/dummy-frame.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index 7063071..bc9fc6a 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -358,16 +358,6 @@ dummy_frame_this_id (struct frame_info *next_frame,
can go away. */
(*this_id) = frame_id_build (deprecated_read_fp (), read_pc ());
}
- else if (legacy_frame_p (current_gdbarch)
- && get_prev_frame (next_frame))
- {
- /* Things are looking seriously grim! Assume that the legacy
- get_prev_frame code has already created THIS frame and linked
- it in to the frame chain (a pretty bold assumption), extract
- the ID from THIS base / pc. */
- (*this_id) = frame_id_build (get_frame_base (get_prev_frame (next_frame)),
- get_frame_pc (get_prev_frame (next_frame)));
- }
else
{
/* Ouch! We're not trying to find the innermost frame's ID yet