monitor fixes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1110 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-10-09 18:08:01 +00:00
parent 8e3a9fd280
commit 7fe48483cd
20 changed files with 106 additions and 82 deletions

View file

@ -521,7 +521,7 @@ int cpu_ppc_handle_mmu_fault (CPUState *env, uint32_t address, int rw,
do_fault:
#if defined (DEBUG_MMU)
if (loglevel > 0)
cpu_ppc_dump_state(env, logfile, 0);
cpu_dump_state(env, logfile, fprintf, 0);
#endif
if (access_type == ACCESS_CODE) {
exception = EXCP_ISI;
@ -676,7 +676,7 @@ void do_interrupt (CPUState *env)
env->nip, excp << 8, env->error_code);
}
if (loglevel > 0)
cpu_ppc_dump_state(env, logfile, 0);
cpu_dump_state(env, logfile, fprintf, 0);
}
#endif
if (loglevel & CPU_LOG_INT) {