aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/int32_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-10-05 16:54:49 -0700
committerBlue Swirl <blauwirbel@gmail.com>2012-10-07 16:39:29 +0000
commitb884fc5ecaacd241829f225282356d59eb186645 (patch)
tree15838c177f9da217b57a6cba29e461456f0825c2 /target-sparc/int32_helper.c
parent76a23ca099084ce72f5c30a3c5dc18e331384c59 (diff)
downloadqemu-b884fc5ecaacd241829f225282356d59eb186645.zip
qemu-b884fc5ecaacd241829f225282356d59eb186645.tar.gz
qemu-b884fc5ecaacd241829f225282356d59eb186645.tar.bz2
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 <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/int32_helper.c')
-rw-r--r--target-sparc/int32_helper.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/target-sparc/int32_helper.c b/target-sparc/int32_helper.c
index 5e33d50..9ac5aac 100644
--- a/target-sparc/int32_helper.c
+++ b/target-sparc/int32_helper.c
@@ -21,7 +21,7 @@
#include "trace.h"
#include "sysemu.h"
-//#define DEBUG_PCALL
+#define DEBUG_PCALL
#ifdef DEBUG_PCALL
static const char * const excp_names[0x80] = {
@@ -78,10 +78,7 @@ void do_interrupt(CPUSPARCState *env)
}
}
- qemu_log("%6d: %s (v=%02x) pc=%08x npc=%08x SP=%08x\n",
- count, name, intno,
- env->pc,
- env->npc, env->regwptr[6]);
+ qemu_log("%6d: %s (v=%02x)\n", count, name, intno);
log_cpu_state(env, 0);
#if 0
{