mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
* frame.c (find_saved_register): Find saved registers in the next
not prev frame. Fix PR gdb/365.
This commit is contained in:
parent
26eadf6826
commit
8b0d4340d7
@ -1,3 +1,9 @@
|
||||
2002-04-17 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* frame.c (find_saved_register): Find saved registers in the next
|
||||
not prev frame.
|
||||
Fix PR gdb/365.
|
||||
|
||||
2002-04-17 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* gdbarch.sh (LANG): Set to ``c''.
|
||||
|
@ -83,7 +83,7 @@ find_saved_register (struct frame_info *frame, int regnum)
|
||||
while (1)
|
||||
{
|
||||
QUIT;
|
||||
frame1 = get_prev_frame (frame1);
|
||||
frame1 = get_next_frame (frame1);
|
||||
if (frame1 == 0 || frame1 == frame)
|
||||
break;
|
||||
FRAME_INIT_SAVED_REGS (frame1);
|
||||
|
Loading…
Reference in New Issue
Block a user