Skip to content

Commit

Permalink
target-m68k: Call tcg_gen_debug_insn_start
Browse files Browse the repository at this point in the history
Cc: Paul Brook <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
  • Loading branch information
rth7680 authored and aurel32 committed Sep 27, 2012
1 parent fdefe51 commit fa547e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions target-m68k/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -2953,6 +2953,10 @@ static void disas_m68k_insn(CPUM68KState * env, DisasContext *s)
{
uint16_t insn;

if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) {
tcg_gen_debug_insn_start(s->pc);
}

insn = cpu_lduw_code(env, s->pc);
s->pc += 2;

Expand Down

0 comments on commit fa547e6

Please sign in to comment.