mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-24 22:15:07 +00:00
target/arm/helper: make it clear the EC field is also in hex
..just like the rest of the displayed ESR register. Otherwise people might scratch their heads if a not obviously hex number is displayed for the EC field. Backports commit 6568da459b611845ef55526cd23afc9fa9f4647f from qemu
This commit is contained in:
parent
bc7a9ccfbd
commit
b8caaac110
|
@ -5982,7 +5982,7 @@ void arm_cpu_do_interrupt(CPUState *cs)
|
||||||
new_el);
|
new_el);
|
||||||
if (qemu_loglevel_mask(CPU_LOG_INT)
|
if (qemu_loglevel_mask(CPU_LOG_INT)
|
||||||
&& !excp_is_internal(cs->exception_index)) {
|
&& !excp_is_internal(cs->exception_index)) {
|
||||||
qemu_log_mask(CPU_LOG_INT, "...with ESR %x/0x%" PRIx32 "\n",
|
qemu_log_mask(CPU_LOG_INT, "...with ESR 0x%x/0x%" PRIx32 "\n",
|
||||||
env->exception.syndrome >> ARM_EL_EC_SHIFT,
|
env->exception.syndrome >> ARM_EL_EC_SHIFT,
|
||||||
env->exception.syndrome);
|
env->exception.syndrome);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue