From 696307f30c72fb97789dd9adb568abd4d023f506 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Mon, 16 Nov 2020 02:12:31 +0200 Subject: [PATCH] Improve traps printing --- nucleus/src/arch/aarch64/traps.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nucleus/src/arch/aarch64/traps.rs b/nucleus/src/arch/aarch64/traps.rs index d198330..4f674ba 100644 --- a/nucleus/src/arch/aarch64/traps.rs +++ b/nucleus/src/arch/aarch64/traps.rs @@ -349,8 +349,8 @@ fn synchronous_common(e: &mut ExceptionContext) { } else { println!(" FAR_EL1: {:#016x} (location)", FAR_EL1.get()); println!(" Stack: {:#016x}", e.spsr_el1); - println!(" ELR_EL1: {:#010x}", e.elr_el1); } + println!(" ELR_EL1: {:#010x}", e.elr_el1); println!(" x00: 0000000000000000 x01: {:016x}", e.gpr.x[0]);