instructions as conditional branches.
+2003-05-08 Kevin Buettner <kevinb@redhat.com>
+
+ * linux-target.c (mips_singlestep): Don't interpret all coprocessor
+ instructions as conditional branches.
+
2003-04-10 Kevin Buettner <kevinb@redhat.com>
* linux-target.c (NUM_REGS) [MIPS_LINUX_TARGET, MIPS64_LINUX_TARGET]:
targ |= (insn.j_format.target << 2);
break;
+ /* Some cop instructions are conditional... */
+ case cop0_op:
+ case cop1_op:
+ case cop2_op:
+ if (insn.i_format.rs != bc_op)
+ break;
+ else
+ ; /* fall through... */
+
/*
* These are conditional.
*/
case blezl_op:
case bgtz_op:
case bgtzl_op:
- case cop0_op:
- case cop1_op:
- case cop2_op:
case cop1x_op:
is_branch = is_cond = 1;
targ += 4 + (insn.i_format.simmediate << 2);