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.
This commit is contained in:
Daniel Bertalan 2023-05-26 08:16:23 +02:00 committed by Andrew Kaster
commit 2a2787b199
Notes: sideshowbarker 2024-07-17 06:09:44 +09:00

View file

@ -453,7 +453,7 @@ ErrorOr<Vector<FlatPtr, 32>> 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<FlatPtr, 32> {};
}