From e19e89a5d4e9416f054116765fc0c2674ddd371f Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 21 Mar 2004 17:08:23 +0000 Subject: more log items git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@676 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-arm/translate.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'target-arm') diff --git a/target-arm/translate.c b/target-arm/translate.c index 3efd55ee3e..f405a232f9 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -777,15 +777,16 @@ static inline int gen_intermediate_code_internal(CPUState *env, *gen_opc_ptr = INDEX_op_end; #ifdef DEBUG_DISAS - if (loglevel) { + if (loglevel & CPU_LOG_TB_IN_ASM) { fprintf(logfile, "----------------\n"); fprintf(logfile, "IN: %s\n", lookup_symbol(pc_start)); - disas(logfile, pc_start, dc->pc - pc_start, 0, 0); - fprintf(logfile, "\n"); - - fprintf(logfile, "OP:\n"); - dump_ops(gen_opc_buf, gen_opparam_buf); + disas(logfile, pc_start, dc->pc - pc_start, 0, 0); fprintf(logfile, "\n"); + if (loglevel & (CPU_LOG_TB_OP)) { + fprintf(logfile, "OP:\n"); + dump_ops(gen_opc_buf, gen_opparam_buf); + fprintf(logfile, "\n"); + } } #endif if (!search_pc) -- cgit v1.2.3