Patchwork [4/5] target-sh4: Remove duplicate CPU log.

login
register
mail settings
Submitter Richard Henderson
Date April 5, 2010, 10:58 p.m.
Message ID <535fa6493a2dc0aff02098bbf4c12ccda809abc2.1272496083.git.rth@twiddle.net>
Download mbox | patch
Permalink /patch/51260/
State New
Headers show

Comments

Richard Henderson - April 5, 2010, 10:58 p.m.
Logging for -d cpu is done in generic code.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 target-sh4/translate.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

Patch

diff --git a/target-sh4/translate.c b/target-sh4/translate.c
index 3537f8c..d0d6c00 100644
--- a/target-sh4/translate.c
+++ b/target-sh4/translate.c
@@ -1916,12 +1916,6 @@  gen_intermediate_code_internal(CPUState * env, TranslationBlock * tb,
     ctx.features = env->features;
     ctx.has_movcal = (tb->flags & TB_FLAG_PENDING_MOVCA);
 
-#ifdef DEBUG_DISAS
-    qemu_log_mask(CPU_LOG_TB_CPU,
-                 "------------------------------------------------\n");
-    log_cpu_state_mask(CPU_LOG_TB_CPU, env, 0);
-#endif
-
     ii = -1;
     num_insns = 0;
     max_insns = tb->cflags & CF_COUNT_MASK;