[PATCH] MIPS: Atomic sequence emulation branch decoding fix
Maciej W. Rozycki
macro@codesourcery.com
Wed Dec 7 00:06:00 GMT 2011
On Mon, 5 Dec 2011, Joel Brobecker wrote:
> > 2011-11-22 Maciej W. Rozycki <macro@codesourcery.com>
> >
> > gdb/
> > * mips-tdep.c (deal_with_atomic_sequence): Fix the handling
> > of BLTZ* and BGEZ* instructions.
>
> I'm just going to have to trust you on this one... Please go ahead
> and commit.
Well, barring wading through the mips.com web site to get the right
architecture spec (the best and authoritative reference is the REGIMM
minor opcode map in the "MIPS32 Instruction Set" manual, doc #MD00086,
table A.4) you could always check mips-opc.c in opcodes (search
"0x0[4-7].[0-3]...."). There aren't really that many instructions using
the REGIMM major opcode -- except from branches covered here, there are
also traps and SYNCI.
Applied now, thanks.
Maciej
More information about the Gdb-patches
mailing list