On Mon, Sep 24, 2012 at 02:55:50PM -0700, Richard Henderson wrote: > Cc: Guan Xuetao <g...@mprc.pku.edu.cn> > Signed-off-by: Richard Henderson <r...@twiddle.net> > --- > target-unicore32/translate.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/target-unicore32/translate.c b/target-unicore32/translate.c > index b786a6b..36f4f2f 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; > > -- > 1.7.11.4 >
Reviewed-by: Aurelien Jarno <aurel...@aurel32.net> -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net