1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:04:59 +00:00

Kernel: Add ability to dump backtrace from provided frame pointer

When an exception happens it is sometimes hard to figure out where
exactly the exception happened, so use the frame pointer of the trap
frame to print a backtrace.
This commit is contained in:
Timon Kruiper 2022-09-21 14:33:39 +02:00 committed by Andreas Kling
parent 57901a6f62
commit ad5e8bbb4f
3 changed files with 8 additions and 0 deletions

View file

@ -29,5 +29,6 @@ extern FlatPtr g_lowest_kernel_symbol_address;
extern FlatPtr g_highest_kernel_symbol_address;
void dump_backtrace(PrintToScreen print_to_screen = PrintToScreen::No);
void dump_backtrace_from_base_pointer(FlatPtr base_pointer);
}