From 2a2787b1991d38d475f29f0918e78180ddaefd3b Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Fri, 26 May 2023 08:16:23 +0200 Subject: [PATCH] Kernel/aarch64: Make `Processor::capture_stack_trace` stub non-crashing This is the only kernel issue blocking us from running the test suite. Having userspace backtraces printed to the debug console during crashes isn't vital to the system's function, so let's just return an empty trace and print a FIXME instead of crashing. --- Kernel/Arch/aarch64/Processor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Arch/aarch64/Processor.cpp b/Kernel/Arch/aarch64/Processor.cpp index 7545a42d2d..86ff0740a2 100644 --- a/Kernel/Arch/aarch64/Processor.cpp +++ b/Kernel/Arch/aarch64/Processor.cpp @@ -453,7 +453,7 @@ ErrorOr> Processor::capture_stack_trace(Thread& thread, size { (void)thread; (void)max_frames; - TODO_AARCH64(); + dbgln("FIXME: Implement Processor::capture_stack_trace() for AArch64"); return Vector {}; }