diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2009-09-28 13:39:08 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-09-28 13:40:12 +0200 |
commit | 98a84108caeab728e52ee1766225b0bee7e523ed (patch) | |
tree | a53d3cc8231c16f3c3da9f5f177920f963eaeddf /target-ppc | |
parent | 56824cb3171b00a22649dfc27f9b826e8adffd06 (diff) | |
download | qemu-98a84108caeab728e52ee1766225b0bee7e523ed.tar.gz qemu-98a84108caeab728e52ee1766225b0bee7e523ed.tar.bz2 qemu-98a84108caeab728e52ee1766225b0bee7e523ed.zip |
target-ppc: log instructions start in TCG code
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/translate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 8844ad2751..d4e81ce89b 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -9032,6 +9032,8 @@ static inline void gen_intermediate_code_internal(CPUState *env, LOG_DISAS("translate opcode %08x (%02x %02x %02x) (%s)\n", ctx.opcode, opc1(ctx.opcode), opc2(ctx.opcode), opc3(ctx.opcode), little_endian ? "little" : "big"); + if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP))) + tcg_gen_debug_insn_start(ctx.nip); ctx.nip += 4; table = env->opcodes; num_insns++; |