From: Corinna Vinschen <vinschen@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Resurrect v850
Date: Tue, 17 May 2005 14:01:00 -0000 [thread overview]
Message-ID: <20050517133827.GH18174@calimero.vinschen.de> (raw)
In-Reply-To: <20050517132348.GF18174@calimero.vinschen.de>
Hi Daniel,
On May 17 15:23, Corinna Vinschen wrote:
> [...]
> > You can do the frobbing when you record the saved registers - at the
> > end, copy the saved location.
>
> Sorry, I don't understand this. Can you show me some (pseudo) code what
> you mean?
Do you mean like this, as in m32r-tdep.c, function m32r_frame_unwind_cache:
/* The call instruction moves the caller's PC in the callee's LR.
Since this is an unwind, do the reverse. Copy the location of LR
into PC (the address / regnum) so that a request for PC will be
converted into a request for the LR. */
info->saved_regs[M32R_PC_REGNUM] = info->saved_regs[LR_REGNUM];
?
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.
next prev parent reply other threads:[~2005-05-17 13:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 12:28 Corinna Vinschen
2005-05-15 18:20 ` Daniel Jacobowitz
2005-05-17 13:39 ` Corinna Vinschen
2005-05-17 13:52 ` Daniel Jacobowitz
2005-05-17 14:39 ` Corinna Vinschen
2005-05-17 20:40 ` Mark Kettenis
2005-05-18 1:11 ` Daniel Jacobowitz
2005-05-18 1:25 ` Mark Kettenis
2005-05-18 1:40 ` Daniel Jacobowitz
2005-05-18 10:18 ` Corinna Vinschen
2005-05-17 14:01 ` Corinna Vinschen [this message]
2005-05-17 14:10 ` Daniel Jacobowitz
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=20050517133827.GH18174@calimero.vinschen.de \
--to=vinschen@redhat.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