From 203dcf545f10d51911ddae718f5b63466ff2b7d1 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Fri, 14 Jan 2011 20:39:18 +0100 Subject: [PATCH] target-sh4: log instructions start in TCG code Signed-off-by: Aurelien Jarno --- target-sh4/translate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 65ea7f61c7..b3cbe91d21 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -1892,6 +1892,10 @@ static void decode_opc(DisasContext * ctx) { uint32_t old_flags = ctx->flags; + if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP))) { + tcg_gen_debug_insn_start(ctx->pc); + } + _decode_opc(ctx); if (old_flags & (DELAY_SLOT | DELAY_SLOT_CONDITIONAL)) { -- 2.34.1