aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/frame.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 30209fe..4b09d23 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/frame.c b/gdb/frame.c
index a032c47..1af200f 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