mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* 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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user