aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/s390-tdep.c')
-rw-r--r--gdb/s390-tdep.c2
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;