2004-03-17 Andrew Cagney * frame.c (legacy_get_prev_frame): Pass correct frame to frame_unwind_find_by_frame. Index: frame.c =================================================================== RCS file: /cvs/src/src/gdb/frame.c,v retrieving revision 1.162 diff -u -r1.162 frame.c --- frame.c 16 Feb 2004 21:49:21 -0000 1.162 +++ frame.c 17 Mar 2004 23:42:39 -0000 @@ -1493,7 +1493,7 @@ 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