summaryrefslogtreecommitdiff
path: root/gdb/frame-unwind.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-22 17:08:42 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-22 17:08:42 +0000
commite78bc69496bdb2f56b1bf65cdc7a6737f67f4929 (patch)
tree9405ddd6dd66bc569e7d4cd7918b7e3e4899da70 /gdb/frame-unwind.c
parent319d1feb3b838f6a3aa2a70a0d7b1b93a09a580d (diff)
downloadgdb-e78bc69496bdb2f56b1bf65cdc7a6737f67f4929.tar.gz
2004-02-22 Andrew Cagney <cagney@redhat.com>
* frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p to predicates for "seriously old code".
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 fc5a82122e4..82eaf7c0aec 100644
--- a/gdb/frame-unwind.c
+++ b/gdb/frame-unwind.c
@@ -74,7 +74,7 @@ frame_unwind_find_by_frame (struct frame_info *next_frame)
int i;
struct gdbarch *gdbarch = get_frame_arch (next_frame);
struct frame_unwind_table *table = gdbarch_data (gdbarch, frame_unwind_data);
- if (!DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
+ 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