aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-03-17 23:43:36 +0000
committerAndrew Cagney <cagney@redhat.com>2004-03-17 23:43:36 +0000
commit9982c2e7211bcae3be370c5f83ed1de3e88b2b52 (patch)
tree5cf3f3d4a3127bd0a6c6c56e4332275a10e507b4 /gdb
parent1d9f550dd6eaf4816ecf846d5a927155fca42e57 (diff)
downloadgdb-9982c2e7211bcae3be370c5f83ed1de3e88b2b52.zip
gdb-9982c2e7211bcae3be370c5f83ed1de3e88b2b52.tar.gz
gdb-9982c2e7211bcae3be370c5f83ed1de3e88b2b52.tar.bz2
2004-03-17 Andrew Cagney <cagney@redhat.com>
* frame.c (legacy_get_prev_frame): Pass correct frame to frame_unwind_find_by_frame.
Diffstat (limited to 'gdb')
-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