Revision 7fe48483 target-i386/helper.c

b/target-i386/helper.c
872 872
            }
873 873
            fprintf(logfile, "\n");
874 874
#if 0
875
            cpu_x86_dump_state(env, logfile, X86_DUMP_CCOP);
875
            cpu_dump_state(env, logfile, fprintf, X86_DUMP_CCOP);
876 876
            {
877 877
                int i;
878 878
                uint8_t *ptr;
......
1334 1334
    if (loglevel & CPU_LOG_PCALL) {
1335 1335
        fprintf(logfile, "lcall %04x:%08x s=%d\n",
1336 1336
                new_cs, new_eip, shift);
1337
        cpu_x86_dump_state(env, logfile, X86_DUMP_CCOP);
1337
        cpu_dump_state(env, logfile, fprintf, X86_DUMP_CCOP);
1338 1338
    }
1339 1339
#endif
1340 1340
    if ((new_cs & 0xfffc) == 0)
......
1596 1596
    if (loglevel & CPU_LOG_PCALL) {
1597 1597
        fprintf(logfile, "lret new %04x:%08x s=%d addend=0x%x\n",
1598 1598
                new_cs, new_eip, shift, addend);
1599
        cpu_x86_dump_state(env, logfile, X86_DUMP_CCOP);
1599
        cpu_dump_state(env, logfile, fprintf, X86_DUMP_CCOP);
1600 1600
    }
1601 1601
#endif
1602 1602
    if ((new_cs & 0xfffc) == 0)

Also available in: Unified diff