From ae682b8061d9e11c089386e6aefc7f88c40aaf9c Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Thu, 13 Jan 1994 15:38:00 +0000 Subject: [PATCH] * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0. --- gdb/ChangeLog | 4 ++++ gdb/a29k-tdep.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a418d2d13c0..5ff6cc268cf 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 ce8a91202f1..a34b189c3df 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); } -- 2.30.2