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: Joel Brobecker <brobecker at adacore dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 13 May 2007 21:36:59 -0700
- Subject: Re: [rfc/rft] Eliminate gdbarch_read_sp callback function
- References: <200705131229.l4DCTfi9018874@d12av02.megacenter.de.ibm.com>
> 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.
--
Joel