diff options
author | Richard Henderson <rth@twiddle.net> | 2012-09-24 14:55:50 -0700 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-27 21:44:28 +0200 |
commit | daa47c34a893917d712923b107d33f7b89a3a53b (patch) | |
tree | f4d0a5855b02351b9b99cc3bba71ab5f38ea1d0f | |
parent | 7193b5f6f52d633531406771b9370d7b591cef88 (diff) |
target-unicore32: Call tcg_gen_debug_insn_start
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r-- | target-unicore32/translate.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |