* PATCH: S/390: get return address properly when still in register
@ 2001-11-19 13:30 Jim Blandy
2001-11-29 9:39 ` Jim Blandy
0 siblings, 1 reply; 2+ messages in thread
From: Jim Blandy @ 2001-11-19 13:30 UTC (permalink / raw)
To: gdb-patches
2001-11-29 Jim Blandy <jimb@redhat.com>
* 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.
Index: gdb/s390-tdep.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/s390-tdep.c,v
retrieving revision 2.21
diff -c -r2.21 s390-tdep.c
*** gdb/s390-tdep.c 2001/11/28 03:41:53 2.21
--- gdb/s390-tdep.c 2001/11/29 04:59:51
***************
*** 901,906 ****
--- 901,908 ----
(fi->saved_regs[S390_RETADDR_REGNUM],
S390_GPR_SIZE)));
}
+ else
+ return read_register (S390_RETADDR_REGNUM);
}
}
return 0;
^ permalink raw reply [flat|nested] 2+ messages in thread
* PATCH: S/390: get return address properly when still in register
2001-11-19 13:30 PATCH: S/390: get return address properly when still in register Jim Blandy
@ 2001-11-29 9:39 ` Jim Blandy
0 siblings, 0 replies; 2+ messages in thread
From: Jim Blandy @ 2001-11-29 9:39 UTC (permalink / raw)
To: gdb-patches
2001-11-29 Jim Blandy <jimb@redhat.com>
* 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.
Index: gdb/s390-tdep.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/s390-tdep.c,v
retrieving revision 2.21
diff -c -r2.21 s390-tdep.c
*** gdb/s390-tdep.c 2001/11/28 03:41:53 2.21
--- gdb/s390-tdep.c 2001/11/29 04:59:51
***************
*** 901,906 ****
--- 901,908 ----
(fi->saved_regs[S390_RETADDR_REGNUM],
S390_GPR_SIZE)));
}
+ else
+ return read_register (S390_RETADDR_REGNUM);
}
}
return 0;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-29 17:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-19 13:30 PATCH: S/390: get return address properly when still in register Jim Blandy
2001-11-29 9:39 ` Jim Blandy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox