Browse Source

2004-03-17 Andrew Cagney <cagney@redhat.com>

* frame.c (legacy_get_prev_frame): Pass correct frame to
	frame_unwind_find_by_frame.
jimb-rda-nptl-branch
Andrew Cagney 23 years ago
parent
commit
9982c2e721
  1. 5
      gdb/ChangeLog
  2. 2
      gdb/frame.c

5
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

2
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

Loading…
Cancel
Save