This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc/rft] Eliminate gdbarch_read_sp callback function
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: brobecker at adacore dot com (Joel Brobecker)
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 14 May 2007 17:18:26 +0200 (CEST)
- Subject: Re: [rfc/rft] Eliminate gdbarch_read_sp callback function
Joel Brobecker wrote:
> > 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.
>
> FWIW: I tested your patch on mips-irix, and it showed no difference
> in results.
Thanks for testing this!
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com