[PATCH] MIPS: MIPS16 offset calculation and branch decoding fixes
Joel Brobecker
brobecker@adacore.com
Thu Dec 8 08:58:00 GMT 2011
> 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
More information about the Gdb-patches
mailing list