* mips-tdep.c (deal_with_atomic_sequence): Fix the handling

of BLTZ* and BGEZ* instructions.
This commit is contained in:
Maciej W. Rozycki 2011-12-06 23:36:58 +00:00
parent 6bf36717da
commit 754d7c7860
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-12-06 Maciej W. Rozycki <macro@codesourcery.com>
* mips-tdep.c (deal_with_atomic_sequence): Fix the handling
of BLTZ* and BGEZ* instructions.
2011-12-06 Maciej W. Rozycki <macro@codesourcery.com>
* mips-tdep.c (mips_pc_is_mips16): Reverse the order of checks

View File

@ -2620,7 +2620,7 @@ deal_with_atomic_sequence (struct gdbarch *gdbarch,
return 0; /* fallback to the standard single-step code. */
break;
case 1: /* REGIMM */
is_branch = ((itype_rt (insn) & 0xc0) == 0); /* B{LT,GE}Z* */
is_branch = ((itype_rt (insn) & 0xc) == 0); /* B{LT,GE}Z* */
break;
case 2: /* J */
case 3: /* JAL */