diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-02-09 21:54:36 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-02-09 21:54:36 +0000 |
commit | 1247c5f7be51595edd622e0e0a8d26e24fb88327 (patch) | |
tree | 386574d0cf657f175aaaa387d5c8bb4ced52b6f5 | |
parent | e0b3073f53dd9c0a2206932c58b5f83a87f7525b (diff) |
always compile 'int' traces
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1759 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | target-i386/helper.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index a649242220..46cbe8b8d7 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1122,8 +1122,7 @@ void do_interrupt_user(int intno, int is_int, int error_code, void do_interrupt(int intno, int is_int, int error_code, target_ulong next_eip, int is_hw) { -#ifdef DEBUG_PCALL - if (loglevel & (CPU_LOG_PCALL | CPU_LOG_INT)) { + if (loglevel & CPU_LOG_INT) { if ((env->cr[0] & CR0_PE_MASK)) { static int count; fprintf(logfile, "%6d: v=%02x e=%04x i=%d cpl=%d IP=%04x:" TARGET_FMT_lx " pc=" TARGET_FMT_lx " SP=%04x:" TARGET_FMT_lx, @@ -1138,8 +1137,8 @@ void do_interrupt(int intno, int is_int, int error_code, fprintf(logfile, " EAX=" TARGET_FMT_lx, EAX); } fprintf(logfile, "\n"); -#if 0 cpu_dump_state(env, logfile, fprintf, X86_DUMP_CCOP); +#if 0 { int i; uint8_t *ptr; @@ -1154,7 +1153,6 @@ void do_interrupt(int intno, int is_int, int error_code, count++; } } -#endif if (env->cr[0] & CR0_PE_MASK) { #if TARGET_X86_64 if (env->hflags & HF_LMA_MASK) { |