mips-tdep.c: Use is_mips16_addr() to test for the MIPS16 mode

Daniel Jacobowitz drow@false.org
Fri Jul 20 15:30:00 GMT 2007


On Fri, Jul 20, 2007 at 01:53:49PM +0100, Maciej W. Rozycki wrote:
> Hello,
> 
>  We have a function to check whether an address of instruction implies the 
> MIPS16 mode or not.  However mips_next_pc() checks that directly.  Here is 
> a fix.  No regressions for mipsisa32-sde-elf, with mips-sim-sde32/-EB and 
> mips-sim-sde32/-mips16/-EB.
> 
> 2007-07-20  Maciej W. Rozycki  <macro@mips.com>
> 
> 	* mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of
> 	a direct test.
> 
>  OK to apply?

OK.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list