From 43ec703ab432d0e0b43ff2277c359d6b4820c2b0 Mon Sep 17 00:00:00 2001 From: jimb Date: Thu, 29 Nov 2001 05:02:37 +0000 Subject: [PATCH] * s390-tdep.c (s390_frame_saved_pc_nofix): If the prologue didn't save the return address register, assume that the return address is still in there. --- gdb/ChangeLog | 6 ++++++ gdb/s390-tdep.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 884d17df0b..2d12545c11 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-11-29 Jim Blandy + + * s390-tdep.c (s390_frame_saved_pc_nofix): If the prologue didn't + save the return address register, assume that the return address + is still in there. + 2001-11-27 Andrew Cagney * MAINTAINERS: Clarify obvious fix a little (as suggested by Eli diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index 61f4ae8939..465780f04f 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -901,6 +901,8 @@ s390_frame_saved_pc_nofix (struct frame_info *fi) (fi->saved_regs[S390_RETADDR_REGNUM], S390_GPR_SIZE))); } + else + return read_register (S390_RETADDR_REGNUM); } } return 0; -- 2.11.0