summaryrefslogtreecommitdiff
path: root/gdb/frame.h
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
commit5cde472f13ddb41a74a6b555b99c8b7af12f4d26 (patch)
tree6dfc76f60734d3ed7a1ac692c248bcedaac3319c /gdb/frame.h
parent99eb994050df29508cbb59d57fcd7069d02cb887 (diff)
downloadgdb-5cde472f13ddb41a74a6b555b99c8b7af12f4d26.tar.gz
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.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index 5fa3d895bbd..196e1c011d8 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) */