Revision 1247c5f7 target-i386/helper.c

b/target-i386/helper.c
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 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 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) {

Also available in: Unified diff