Message ID | 20230625230716.2922-7-namit@vmware.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: improve debuggability | expand |
diff --git a/lib/arm64/processor.c b/lib/arm64/processor.c index 831207c..5bcad67 100644 --- a/lib/arm64/processor.c +++ b/lib/arm64/processor.c @@ -130,6 +130,7 @@ static void bad_exception(enum vector v, struct pt_regs *regs, printf("Vector: %d (%s)\n", v, vector_names[v]); printf("ESR_EL1: %8s%08x, ec=%#x (%s)\n", "", esr, ec, ec_names[ec]); printf("FAR_EL1: %016lx (%svalid)\n", far, far_valid ? "" : "not "); + dump_stack(); printf("Exception frame registers:\n"); show_regs(regs); abort();