Commit 1247c5f7be51595edd622e0e0a8d26e24fb88327

Authored by bellard
1 parent e0b3073f

always compile 'int' traces


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1759 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 4 deletions
target-i386/helper.c
... ... @@ -1122,8 +1122,7 @@ void do_interrupt_user(int intno, int is_int, int error_code,
1122 1122 void do_interrupt(int intno, int is_int, int error_code,
1123 1123 target_ulong next_eip, int is_hw)
1124 1124 {
1125   -#ifdef DEBUG_PCALL
1126   - if (loglevel & (CPU_LOG_PCALL | CPU_LOG_INT)) {
  1125 + if (loglevel & CPU_LOG_INT) {
1127 1126 if ((env->cr[0] & CR0_PE_MASK)) {
1128 1127 static int count;
1129 1128 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,
1138 1137 fprintf(logfile, " EAX=" TARGET_FMT_lx, EAX);
1139 1138 }
1140 1139 fprintf(logfile, "\n");
1141   -#if 0
1142 1140 cpu_dump_state(env, logfile, fprintf, X86_DUMP_CCOP);
  1141 +#if 0
1143 1142 {
1144 1143 int i;
1145 1144 uint8_t *ptr;
... ... @@ -1154,7 +1153,6 @@ void do_interrupt(int intno, int is_int, int error_code,
1154 1153 count++;
1155 1154 }
1156 1155 }
1157   -#endif
1158 1156 if (env->cr[0] & CR0_PE_MASK) {
1159 1157 #if TARGET_X86_64
1160 1158 if (env->hflags & HF_LMA_MASK) {
... ...