diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-07-31 21:41:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-07-31 21:41:50 +0000 |
commit | c1bf6f652724207f32494a8304ca7693148d0e3d (patch) | |
tree | 907d91058b413c1f27cc6ec4343ecbf05161c684 /gdb/frame.h | |
parent | 5a5effe17e500b03713f965a12b0c5bb7345c838 (diff) | |
download | gdb-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.h')
-rw-r--r-- | gdb/frame.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index 5fa3d89..196e1c0 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -71,10 +71,6 @@ struct block; struct gdbarch; struct ui_file; -/* A legacy unwinder to prop up architectures using the old style - saved regs array. */ -extern const struct frame_unwind *legacy_saved_regs_unwind; - /* The frame object. */ struct frame_info; @@ -375,11 +371,6 @@ extern int frame_relative_level (struct frame_info *fi); enum frame_type { - /* The frame's type hasn't yet been defined. This is a catch-all - for legacy_get_prev_frame that uses really strange techniques to - determine the frame's type. New code should not use this - value. */ - UNKNOWN_FRAME, /* A true stack frame, created by the target program during normal execution. */ NORMAL_FRAME, @@ -527,15 +518,6 @@ extern void *frame_obstack_zalloc (unsigned long size); #define FRAME_OBSTACK_ZALLOC(TYPE) ((TYPE *) frame_obstack_zalloc (sizeof (TYPE))) #define FRAME_OBSTACK_CALLOC(NUMBER,TYPE) ((TYPE *) frame_obstack_zalloc ((NUMBER) * sizeof (TYPE))) -/* If legacy_frame_chain_valid() returns zero it means that the given - frame is the outermost one and has no caller. - - This method has been superseded by the per-architecture - frame_unwind_pc() (returns 0 to indicate an invalid return address) - and per-frame this_id() (returns a NULL frame ID to indicate an - invalid frame). */ -extern int legacy_frame_chain_valid (CORE_ADDR, struct frame_info *); - extern void generic_save_dummy_frame_tos (CORE_ADDR sp); extern struct block *get_frame_block (struct frame_info *, @@ -718,8 +700,4 @@ extern void deprecated_update_frame_base_hack (struct frame_info *frame, extern struct frame_info *deprecated_frame_xmalloc_with_cleanup (long sizeof_saved_regs, long sizeof_extra_info); -/* Return non-zero if the architecture is relying on legacy frame - code. */ -extern int legacy_frame_p (struct gdbarch *gdbarch); - #endif /* !defined (FRAME_H) */ |