* a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
This commit is contained in:
parent
fca59f9d42
commit
ae682b8061
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
|
||||
|
||||
Wed Jan 12 20:53:16 1994 John Gilmore (gnu@cygnus.com)
|
||||
|
||||
* printcmd.c (print_address_symbolic): Make it search the
|
||||
|
|
|
@ -845,6 +845,9 @@ push_dummy_frame ()
|
|||
write_register (lrnum++, read_register (PC_REGNUM));
|
||||
write_register (lrnum++, read_register (NPC_REGNUM));
|
||||
write_register (lrnum++, read_register (PC2_REGNUM));
|
||||
|
||||
/* Why are we saving LR0? What would clobber it? (the dummy frame should
|
||||
be below it on the register stack, no?). */
|
||||
write_register (lrnum++, original_lr0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue