summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-04-03 21:22:10 +0000
committerAndrew Cagney <cagney@redhat.com>2004-04-03 21:22:10 +0000
commit995ad75fdd9d5f73bb12129b774c58f1fa5869ef (patch)
treed681ac4c4881fc758093bf4cba982d60458ac655
parente33d9d4b942c8c13a96c488ab0f99d5a034d8374 (diff)
downloadgdb-995ad75fdd9d5f73bb12129b774c58f1fa5869ef.tar.gz
2004-04-03 Andrew Cagney <cagney@redhat.com>
* frame-unwind.c (frame_unwind_find_by_frame): Delete check for generic dummy frames. * dummy-frame.c: Update copyright. (dummy_frame_sniffer): Delete check for generic dummy frames.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dummy-frame.c5
-rw-r--r--gdb/frame-unwind.c6
3 files changed, 7 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0120a5af7dd..e40466262ab 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2004-04-03 Andrew Cagney <cagney@redhat.com>
+ * frame-unwind.c (frame_unwind_find_by_frame): Delete check for
+ generic dummy frames.
+ * dummy-frame.c: Update copyright.
+ (dummy_frame_sniffer): Delete check for generic dummy frames.
+
* config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete.
* config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS)
(REG_PARM_STACK_SPACE): Delete.
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index 2c5153ebe20..af8e0017fbf 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -1,8 +1,8 @@
/* Code dealing with dummy stack frames, for GDB, the GNU debugger.
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
- 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software
- Foundation, Inc.
+ 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free
+ Software Foundation, Inc.
This file is part of GDB.
@@ -398,7 +398,6 @@ const struct frame_unwind *
dummy_frame_sniffer (struct frame_info *next_frame)
{
CORE_ADDR pc = frame_pc_unwind (next_frame);
- gdb_assert (DEPRECATED_USE_GENERIC_DUMMY_FRAMES);
if (pc_in_dummy_frame (pc))
return &dummy_frame_unwind;
else
diff --git a/gdb/frame-unwind.c b/gdb/frame-unwind.c
index cacb2ed4160..ac26a643a84 100644
--- a/gdb/frame-unwind.c
+++ b/gdb/frame-unwind.c
@@ -80,12 +80,6 @@ frame_unwind_find_by_frame (struct frame_info *next_frame, void **this_cache)
struct gdbarch *gdbarch = get_frame_arch (next_frame);
struct frame_unwind_table *table = gdbarch_data (gdbarch, frame_unwind_data);
struct frame_unwind_table_entry *entry;
- if (!DEPRECATED_USE_GENERIC_DUMMY_FRAMES && legacy_frame_p (gdbarch))
- /* Seriously old code. Don't even try to use this new mechanism.
- (Note: The variable USE_GENERIC_DUMMY_FRAMES is deprecated, not
- the dummy frame mechanism. All architectures should be using
- generic dummy frames). */
- return legacy_saved_regs_unwind;
for (entry = table->head; entry != NULL; entry = entry->next)
{
if (entry->sniffer != NULL)