From daa47c34a893917d712923b107d33f7b89a3a53b Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 24 Sep 2012 14:55:50 -0700 Subject: [PATCH] target-unicore32: Call tcg_gen_debug_insn_start Acked-by: Guan Xuetao Signed-off-by: Richard Henderson Signed-off-by: Aurelien Jarno --- target-unicore32/translate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target-unicore32/translate.c b/target-unicore32/translate.c index b786a6b890..36f4f2f966 100644 --- a/target-unicore32/translate.c +++ b/target-unicore32/translate.c @@ -1861,6 +1861,10 @@ static void disas_uc32_insn(CPUUniCore32State *env, DisasContext *s) { unsigned int insn; + if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) { + tcg_gen_debug_insn_start(s->pc); + } + insn = cpu_ldl_code(env, s->pc); s->pc += 4;