[RFC] mips-tdep.c: Ignore use of sw after sd in prologue scanner

Daniel Jacobowitz drow@false.org
Sat Mar 15 03:00:00 GMT 2008


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



More information about the Gdb-patches mailing list