X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=target-mips%2Fhelper.c;h=6983b92a1181ca2663d388eea172f511f32b36a6;hb=a0762859ae2aae2e221c59e2541f964f1350d68b;hp=36929ddee71cb2baff8952ff47e56b9a4c96ad0f;hpb=518e9d7d486273f4ee8d38946e73a7483aca4a92;p=qemu.git diff --git a/target-mips/helper.c b/target-mips/helper.c index 36929ddee..6983b92a1 100644 --- a/target-mips/helper.c +++ b/target-mips/helper.c @@ -276,7 +276,7 @@ int cpu_mips_handle_mmu_fault (CPUMIPSState *env, target_ulong address, int rw, int ret = 0; #if 0 - log_cpu_state(env, 0); + log_cpu_state(CPU(mips_env_get_cpu(env)), 0); #endif qemu_log("%s pc " TARGET_FMT_lx " ad " TARGET_FMT_lx " rw %d mmu_idx %d\n", __func__, env->active_tc.PC, address, rw, mmu_idx);