aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame-unwind.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/frame-unwind.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/frame-unwind.c')
-rw-r--r--gdb/frame-unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frame-unwind.c b/gdb/frame-unwind.c
index 71c8def..166219a 100644
--- a/gdb/frame-unwind.c
+++ b/gdb/frame-unwind.c
@@ -106,7 +106,7 @@ frame_unwind_find_by_frame (struct frame_info *next_frame, void **this_cache)
return entry->unwinder;
}
}
- return legacy_saved_regs_unwind;
+ internal_error (__FILE__, __LINE__, "frame_unwind_find_by_frame failed");
}
extern initialize_file_ftype _initialize_frame_unwind; /* -Wmissing-prototypes */