target/hppa: Improve interrupt logging

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2023-11-01 10:33:58 -07:00
parent b10700d826
commit 5dd5c00366

View File

@ -258,14 +258,10 @@ void hppa_cpu_do_interrupt(CPUState *cs)
snprintf(unknown, sizeof(unknown), "unknown %d", i); snprintf(unknown, sizeof(unknown), "unknown %d", i);
name = unknown; name = unknown;
} }
qemu_log("INT %6d: %s @ " TARGET_FMT_lx "," TARGET_FMT_lx qemu_log("INT %6d: %s @ " TARGET_FMT_lx ":" TARGET_FMT_lx
" -> " TARGET_FMT_lx " " TARGET_FMT_lx "\n", " for " TARGET_FMT_lx ":" TARGET_FMT_lx "\n",
++count, name, ++count, name, env->cr[CR_IIASQ], env->cr[CR_IIAOQ],
hppa_form_gva(env, env->iasq_f, env->iaoq_f), env->cr[CR_ISR], env->cr[CR_IOR]);
hppa_form_gva(env, env->iasq_b, env->iaoq_b),
env->iaoq_f,
hppa_form_gva(env, (uint64_t)env->cr[CR_ISR] << 32,
env->cr[CR_IOR]));
} }
cs->exception_index = -1; cs->exception_index = -1;
} }