* mips-tdep.c (extended_offset): Correct calculation.
authorMaciej W. Rozycki <macro@linux-mips.org>
Thu, 8 Dec 2011 18:55:48 +0000 (18:55 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Thu, 8 Dec 2011 18:55:48 +0000 (18:55 +0000)
commit4c2051c6c94ae19b0f2ded3a2244ecbd4bfb11e4
treef5edf292dddd17c8f7e8316c325a7abde310a580
parentff011ed785d6a9e25c853f8c69bb5d62bc080fec
* 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.
gdb/ChangeLog
gdb/mips-tdep.c