mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* a29k-tdep.c (get_saved_register): Allow PC to be modified
when innermost frame is selected, but not in outer frames. PR 9012
This commit is contained in:
parent
9676e4461a
commit
48b497edfe
@ -1,3 +1,8 @@
|
||||
Tue Jul 16 23:47:04 1996 Mark Alexander <marka@cygnus.com>
|
||||
|
||||
* a29k-tdep.c (get_saved_register): Allow PC to be modified
|
||||
when innermost frame is selected, but not in outer frames.
|
||||
|
||||
Tue Jul 16 23:37:25 1996 Stu Grossman (grossman@critters.cygnus.com)
|
||||
|
||||
* command.c (do_setshow_command): Don't segfault when showing
|
||||
|
@ -688,7 +688,7 @@ get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lvalp)
|
||||
*lvalp = not_lval;
|
||||
return;
|
||||
}
|
||||
else if (regnum == PC_REGNUM)
|
||||
else if (regnum == PC_REGNUM && frame->next != NULL)
|
||||
{
|
||||
if (raw_buffer != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user