diff options
author | Richard Henderson | 2012-09-24 23:55:48 +0200 |
---|---|---|
committer | Aurelien Jarno | 2012-09-27 21:38:50 +0200 |
commit | fa547e617c2f499903dccb8f1b9031bfe724e11e (patch) | |
tree | 4edfb651739ef5834b7c7035bbcd2c5230793609 /target-m68k | |
parent | Emit debug_insn for CPU_LOG_TB_OP_OPT as well. (diff) | |
download | qemu-fa547e617c2f499903dccb8f1b9031bfe724e11e.tar.gz qemu-fa547e617c2f499903dccb8f1b9031bfe724e11e.tar.xz qemu-fa547e617c2f499903dccb8f1b9031bfe724e11e.zip |
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')
-rw-r--r-- | target-m68k/translate.c | 4 |
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; |