From b884fc5ecaacd241829f225282356d59eb186645 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 5 Oct 2012 16:54:49 -0700 Subject: target-sparc: Make CPU_LOG_INT useful by default No need for ifdefs when the log mask does just as well. No need to print pc/npc when we're dumping the whole cpu state. Signed-off-by: Richard Henderson Signed-off-by: Blue Swirl --- target-sparc/int64_helper.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'target-sparc/int64_helper.c') diff --git a/target-sparc/int64_helper.c b/target-sparc/int64_helper.c index 5e3eff76dd..5d0bc6c6d2 100644 --- a/target-sparc/int64_helper.c +++ b/target-sparc/int64_helper.c @@ -21,7 +21,7 @@ #include "helper.h" #include "trace.h" -//#define DEBUG_PCALL +#define DEBUG_PCALL #ifdef DEBUG_PCALL static const char * const excp_names[0x80] = { @@ -84,11 +84,7 @@ void do_interrupt(CPUSPARCState *env) } } - qemu_log("%6d: %s (v=%04x) pc=%016" PRIx64 " npc=%016" PRIx64 - " SP=%016" PRIx64 "\n", - count, name, intno, - env->pc, - env->npc, env->regwptr[6]); + qemu_log("%6d: %s (v=%04x)\n", count, name, intno); log_cpu_state(env, 0); #if 0 { -- cgit v1.2.3