Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: drow@false.org (Daniel Jacobowitz)
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc/rft] Eliminate gdbarch_read_sp callback function
Date: Mon, 14 May 2007 15:17:00 -0000	[thread overview]
Message-ID: <200705141517.l4EFHckK000690@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <20070514111120.GA16933@caradoc.them.org> from "Daniel Jacobowitz" at May 14, 2007 07:11:20 AM

Daniel Jacobowitz wrote:
> 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.

OK, I've committed this now.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


      reply	other threads:[~2007-05-14 15:17 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
2007-05-14 15:17   ` Ulrich Weigand [this message]

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=200705141517.l4EFHckK000690@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    /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