This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] mips-tdep.c: Ignore use of sw after sd in prologue scanner
On Fri, Mar 14, 2008 at 05:03:25PM -0700, Kevin Buettner wrote:
> On Thu, 6 Mar 2008 17:40:40 -0500
> Daniel Jacobowitz <drow@false.org> wrote:
>
> > Seems reasonable enough. Making it ABI-regsize-dependent would make
> > sense too.
>
> Thanks for looking it over.
>
> I decided that I liked the "ABI-regsize-dependent" approach better than
> my original patch. Here is what I've committed:
>
> * mips-tdep.c (mips32_scan_prologue): Use the ABI register size
> to decide whether to match instruction patterns using "sw" and "sd".
This version looks good to me too.
--
Daniel Jacobowitz
CodeSourcery