aboutsummaryrefslogtreecommitdiff
path: root/target-m68k/translate.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-09-24 14:55:48 -0700
committerAurelien Jarno <aurelien@aurel32.net>2012-09-27 21:38:50 +0200
commitfa547e617c2f499903dccb8f1b9031bfe724e11e (patch)
tree4edfb651739ef5834b7c7035bbcd2c5230793609 /target-m68k/translate.c
parentfdefe51c288866b98e62663fa18c8af1d66bf5f6 (diff)
downloadqemu-arm-fa547e617c2f499903dccb8f1b9031bfe724e11e.tar.gz
target-m68k: Call tcg_gen_debug_insn_start
Cc: Paul Brook <paul@codesourcery.com> Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-m68k/translate.c')
-rw-r--r--target-m68k/translate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index fb707f21bc..451ef7410f 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -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;