2004-03-17 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 17 Mar 2004 23:43:36 +0000 (23:43 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 17 Mar 2004 23:43:36 +0000 (23:43 +0000)
* frame.c (legacy_get_prev_frame): Pass correct frame to
frame_unwind_find_by_frame.

gdb/ChangeLog
gdb/frame.c

index 30209fec5aeac95a8d6d249e1289a5a0f3678a45..4b09d237639069d7b5c0d203b8d96064f5a63dc7 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-17  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.c (legacy_get_prev_frame): Pass correct frame to
+       frame_unwind_find_by_frame.
+
 2004-03-17  David Carlton  <carlton@kealia.com>
 
        * NEWS: Mention C++ nested types and namespaces
index a032c47e92b1437dc33550c2128d5ea648e4dd4d..1af200fe60bb2c348ddd9a72bdd7ac17523861bf 100644 (file)
@@ -1493,7 +1493,7 @@ legacy_get_prev_frame (struct frame_info *this_frame)
              to the new frame code.  Implement FRAME_CHAIN the way the
              new frame will.  */
          /* Find PREV frame's unwinder.  */
-         prev->unwind = frame_unwind_find_by_frame (this_frame->next);
+         prev->unwind = frame_unwind_find_by_frame (this_frame);
          /* FIXME: cagney/2003-04-02: Rather than storing the frame's
             type in the frame, the unwinder's type should be returned
             directly.  Unfortunately, legacy code, called by