diff options
Diffstat (limited to 'target-sh4/helper.c')
-rw-r--r-- | target-sh4/helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target-sh4/helper.c b/target-sh4/helper.c index a790aeb030..d4e0a842a8 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -151,9 +151,9 @@ void do_interrupt(CPUState * env) expname = do_irq ? "interrupt" : "???"; break; } - fprintf(logfile, "exception 0x%03x [%s] raised\n", - irq_vector, expname); - cpu_dump_state(env, logfile, fprintf, 0); + qemu_log("exception 0x%03x [%s] raised\n", + irq_vector, expname); + log_cpu_state(env, 0); } env->ssr = env->sr; |