diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-11-29 05:02:37 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-11-29 05:02:37 +0000 |
commit | d0ad30c93c6b96af423bf0958360f88701f998fc (patch) | |
tree | d1f5748b33d67161961754bc21a4bfe1e2893f56 /gdb/s390-tdep.c | |
parent | 1491f078cfe48411f5e046fa25bbe7cb1b2d57db (diff) | |
download | gdb-d0ad30c93c6b96af423bf0958360f88701f998fc.zip gdb-d0ad30c93c6b96af423bf0958360f88701f998fc.tar.gz gdb-d0ad30c93c6b96af423bf0958360f88701f998fc.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/s390-tdep.c')
-rw-r--r-- | gdb/s390-tdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index 61f4ae8..465780f 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; |