Skip to content

Commit

Permalink
target-unicore32: Call tcg_gen_debug_insn_start
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rth7680 authored and aurel32 committed Sep 27, 2012
1 parent 7193b5f commit daa47c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions target-unicore32/translate.c
Expand Up @@ -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;

Expand Down

0 comments on commit daa47c3

Please sign in to comment.