mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 03:48:11 +08:00
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".
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user