This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: mips-tdep.c: Use is_mips16_addr() to test for the MIPS16 mode
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Maciej W. Rozycki" <macro at mips dot com>
- Cc: gdb-patches at sourceware dot org, "Maciej W. Rozycki" <macro at linux-mips dot org>
- Date: Fri, 20 Jul 2007 11:27:56 -0400
- Subject: Re: mips-tdep.c: Use is_mips16_addr() to test for the MIPS16 mode
- References: <Pine.LNX.4.61.0707201347510.14419@perivale.mips.com>
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