diff options
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/translate.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 9137e38014..6c9dff591a 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -184,6 +184,11 @@ void cpu_dump_state(CPUState * env, FILE * f, static void cpu_sh4_reset(CPUSH4State * env) { + if (qemu_loglevel_mask(CPU_LOG_RESET)) { + qemu_log("CPU Reset (CPU %d)\n", env->cpu_index); + log_cpu_state(env, 0); + } + #if defined(CONFIG_USER_ONLY) env->sr = 0; #else |