From: Daniel Jacobowitz <drow@false.org>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc/rft] Eliminate gdbarch_read_sp callback function
Date: Mon, 14 May 2007 11:11:00 -0000 [thread overview]
Message-ID: <20070514111120.GA16933@caradoc.them.org> (raw)
In-Reply-To: <200705131229.l4DCTfi9018874@d12av02.megacenter.de.ibm.com>
On Sun, May 13, 2007 at 02:29:41PM +0200, Ulrich Weigand wrote:
> Hello,
>
> this patch moves the last remaining implementations of the gdbarch_read_sp
> callback over to gdbarch_unwind_sp, and removes the callback.
>
> The avr-tdep.c and score-tdep.c conversions are straightfoward; but I'm
> not completely sure about the mips-tdep.c. The old read_sp implementation
> used to read the real MIPS_SP_REGNUM, but the unwind_pc implementation
> unwinds the pseudo NUM_REGS + mips_regnum (gdbarch)->pc.
>
> The patch implements unwind_sp using the pseudo NUM_REGS + MIPS_SP_REGNUM
> as well. Dan, you've been working on mips lately -- do you think this
> is the correct choice? Any chance you could run a test? Thanks!
This conversion looks fine to me, and Joel tested Irix - I'd say you
can go ahead. I hope I'll be back to working on MIPS this week,
though I have to sort out the shared library work first.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-05-14 11:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-13 12:29 Ulrich Weigand
2007-05-14 4:36 ` Joel Brobecker
2007-05-14 15:18 ` Ulrich Weigand
2007-05-14 11:11 ` Daniel Jacobowitz [this message]
2007-05-14 15:17 ` Ulrich Weigand
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=20070514111120.GA16933@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=uweigand@de.ibm.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