1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

Kernel: Add optional userspace backtrace to Process::crash

This is very useful for debugging the initial userspace applications, as
the CrashReporter is not yet running.
This commit is contained in:
Timon Kruiper 2023-01-30 12:10:29 +01:00 committed by Linus Groh
parent 3611427ce2
commit 3295137224
Notes: sideshowbarker 2024-07-17 07:19:27 +09:00
6 changed files with 23 additions and 6 deletions

View file

@ -173,7 +173,8 @@ NEVER_INLINE static void dump_backtrace_impl(FlatPtr base_pointer, bool use_ksym
void dump_backtrace_from_base_pointer(FlatPtr base_pointer)
{
dump_backtrace_impl(base_pointer, g_kernel_symbols_available, PrintToScreen::Yes);
// FIXME: Change signature of dump_backtrace_impl to use an enum instead of a bool.
dump_backtrace_impl(base_pointer, /*use_ksym=*/false, PrintToScreen::No);
}
void dump_backtrace(PrintToScreen print_to_screen)