1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

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
parent 58da4c93fb
commit 2a2787b199

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> {};
}