aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2011-12-06 23:36:58 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2011-12-06 23:36:58 +0000
commit754d7c78609ee214e5349370cad194e1240b95db (patch)
tree7ad8fcaa58db11f42ac04eba9aff7ae81e0efa84 /gdb/mips-tdep.c
parent6bf36717dae10f855c300d2651a93d60fcf57abb (diff)
downloadgdb-754d7c78609ee214e5349370cad194e1240b95db.zip
gdb-754d7c78609ee214e5349370cad194e1240b95db.tar.gz
gdb-754d7c78609ee214e5349370cad194e1240b95db.tar.bz2
* mips-tdep.c (deal_with_atomic_sequence): Fix the handling
of BLTZ* and BGEZ* instructions.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c2
1 files changed, 1 insertions, 1 deletions
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 */