This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] MIPS: MIPS16 offset calculation and branch decoding fixes
- From: Joel Brobecker <brobecker at adacore dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 8 Dec 2011 09:37:11 +0100
- Subject: Re: [PATCH] MIPS: MIPS16 offset calculation and branch decoding fixes
- References: <alpine.DEB.1.10.1112030015190.6710@tp.orcam.me.uk>
> 2011-12-03 Maciej W. Rozycki <macro@codesourcery.com>
>
> gdb/
> * mips-tdep.c (extended_offset): Correct calculation.
> (unpack_mips16): Correct bitfield positions used for extraction
> of the immediate argument; fix sign-extension of same.
> (extended_mips16_next_pc): Correct B instruction's offset
> calculation. Correct register decoding of the BEQZ and BNEZ
> as well as jump-register instructions. Handle compact jumps.
OK to apply.
Thank you,
--
Joel