From 9982c2e7211bcae3be370c5f83ed1de3e88b2b52 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 17 Mar 2004 23:43:36 +0000 Subject: [PATCH] 2004-03-17 Andrew Cagney * frame.c (legacy_get_prev_frame): Pass correct frame to frame_unwind_find_by_frame. --- gdb/ChangeLog | 5 +++++ gdb/frame.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 30209fec5ae..4b09d237639 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-03-17 Andrew Cagney + + * frame.c (legacy_get_prev_frame): Pass correct frame to + frame_unwind_find_by_frame. + 2004-03-17 David Carlton * NEWS: Mention C++ nested types and namespaces diff --git a/gdb/frame.c b/gdb/frame.c index a032c47e92b..1af200fe60b 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -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 -- 2.30.2