diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a418d2d13c..5ff6cc268c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/a29k-tdep.c b/gdb/a29k-tdep.c index ce8a91202f..a34b189c3d 100644 --- a/gdb/a29k-tdep.c +++ b/gdb/a29k-tdep.c @@ -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); }