aarch64: dump regs on unknown fatal exceptions

This commit is contained in:
K. Lange 2022-08-30 17:12:18 +09:00
parent ecbe7f6cbb
commit 1960006ec7

View File

@ -278,6 +278,7 @@ void aarch64_sync_enter(struct regs * r) {
dprintf("Unknown exception: ESR: %#zx FAR: %#zx ELR: %#zx SPSR: %#zx\n", esr, far, elr, spsr);
dprintf("Instruction at ELR: 0x%08x\n", *(uint32_t*)elr);
arch_dump_traceback();
aarch64_regs(r);
arch_fatal();
}