aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mips-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 03ab880..39f8ca0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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
performed to determine whether an address refers to standard
MIPS or MIPS16 code.
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 2e23836..4f1c940 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -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 */