qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/5] target-mips: Remove duplicate CPU log.


From: Richard Henderson
Subject: [Qemu-devel] [PATCH 2/5] target-mips: Remove duplicate CPU log.
Date: Wed, 28 Apr 2010 23:10:35 -0000

Logging for -d cpu is done in generic code.

Signed-off-by: Richard Henderson <address@hidden>
---
 target-mips/translate.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/target-mips/translate.c b/target-mips/translate.c
index 7cb539d..c95ecb1 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -9426,11 +9426,6 @@ gen_intermediate_code_internal (CPUState *env, 
TranslationBlock *tb,
     max_insns = tb->cflags & CF_COUNT_MASK;
     if (max_insns == 0)
         max_insns = CF_COUNT_MASK;
-#ifdef DEBUG_DISAS
-    qemu_log_mask(CPU_LOG_TB_CPU, 
"------------------------------------------------\n");
-    /* FIXME: This may print out stale hflags from env... */
-    log_cpu_state_mask(CPU_LOG_TB_CPU, env, 0);
-#endif
     LOG_DISAS("\ntb %p idx %d hflags %04x\n", tb, ctx.mem_idx, ctx.hflags);
     gen_icount_start();
     while (ctx.bstate == BS_NONE) {
@@ -9544,7 +9539,6 @@ done_generating:
         log_target_disas(pc_start, ctx.pc - pc_start, 0);
         qemu_log("\n");
     }
-    qemu_log_mask(CPU_LOG_TB_CPU, "---------------- %d %08x\n", ctx.bstate, 
ctx.hflags);
 #endif
 }
 
-- 
1.6.6.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]