From: Jim Blandy <jimb@zwingli.cygnus.com>
To: gdb-patches@sources.redhat.com
Subject: PATCH: S/390: get return address properly when still in register
Date: Mon, 19 Nov 2001 13:30:00 -0000 [thread overview]
Message-ID: <np3d2xh3ve.fsf@zwingli.cygnus.com> (raw)
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;
WARNING: multiple messages have this Message-ID
From: Jim Blandy <jimb@zwingli.cygnus.com>
To: gdb-patches@sources.redhat.com
Subject: PATCH: S/390: get return address properly when still in register
Date: Thu, 29 Nov 2001 09:39:00 -0000 [thread overview]
Message-ID: <np3d2xh3ve.fsf@zwingli.cygnus.com> (raw)
Message-ID: <20011129093900.mcEDK7bg0qJHGPAuFRfeWLZroR-UH_fldqn3GqSUESc@z> (raw)
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;
next reply other threads:[~2001-11-29 17:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-19 13:30 Jim Blandy [this message]
2001-11-29 9:39 ` Jim Blandy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=np3d2xh3ve.fsf@zwingli.cygnus.com \
--to=jimb@zwingli.cygnus.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox