Patchwork [05/12] target-lm32: don't log cpu state in translation

login
register
mail settings
Submitter Michael Walle
Date March 6, 2013, 10 p.m.
Message ID <1362607209-12232-6-git-send-email-michael@walle.cc>
Download mbox | patch
Permalink /patch/225664/
State New
Headers show

Comments

Michael Walle - March 6, 2013, 10 p.m.
Don't dump the cpu state because it can also be enabled by the "-d cpu"
parameter.

Signed-off-by: Michael Walle <michael@walle.cc>
---
 target-lm32/translate.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

Patch

diff --git a/target-lm32/translate.c b/target-lm32/translate.c
index 695d9c5..f51ffc5 100644
--- a/target-lm32/translate.c
+++ b/target-lm32/translate.c
@@ -1027,11 +1027,6 @@  static void gen_intermediate_code_internal(CPULM32State *env,
         cpu_abort(env, "LM32: unaligned PC=%x\n", pc_start);
     }
 
-    if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM)) {
-        qemu_log("-----------------------------------------\n");
-        log_cpu_state(env, 0);
-    }
-
     next_page_start = (pc_start & TARGET_PAGE_MASK) + TARGET_PAGE_SIZE;
     lj = -1;
     num_insns = 0;