2004-02-22 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 22 Feb 2004 17:08:42 +0000 (17:08 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 22 Feb 2004 17:08:42 +0000 (17:08 +0000)
* frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
to predicates for "seriously old code".

gdb/ChangeLog
gdb/frame-unwind.c

index f9eb986d04badd542bc0649df9841194a72aa5c5..ce4a621c065c232110e742cc38d21516e69c4993 100644 (file)
@@ -1,5 +1,8 @@
 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".
+
        * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
        runtime if(0).
 
index fc5a82122e4a9d0dd6a1a2354f897dd5e7c9707b..82eaf7c0aecf1b7b799de27bbb41033035e3821c 100644 (file)
@@ -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
This page took 0.030873 seconds and 4 git commands to generate.