Skip to content

Commit

Permalink
no step callback for branch delay slot
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed Oct 27, 2021
1 parent 3df776b commit 220410a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qemu/target/mips/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -30940,7 +30940,7 @@ static void mips_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs)
}

// Unicorn: trace this instruction on request
if (HOOK_EXISTS_BOUNDED(uc, UC_HOOK_CODE, ctx->base.pc_next)) {
if (HOOK_EXISTS_BOUNDED(uc, UC_HOOK_CODE, ctx->base.pc_next) && !(ctx->hflags & MIPS_HFLAG_BMASK)) {
// save the last operand
prev_op = tcg_last_op(tcg_ctx);
hook_insn = true;
Expand Down

0 comments on commit 220410a

Please sign in to comment.