From 329513722489db94b2e90d5aa0ae924a401fd027 Mon Sep 17 00:00:00 2001 From: Timon Kruiper Date: Mon, 30 Jan 2023 12:10:29 +0100 Subject: 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. --- Kernel/Process.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Process.h') diff --git a/Kernel/Process.h b/Kernel/Process.h index 6b9e0cd605..de02fdc64a 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -456,7 +456,7 @@ public: static void initialize(); - [[noreturn]] void crash(int signal, FlatPtr ip, bool out_of_memory = false); + [[noreturn]] void crash(int signal, Optional regs, bool out_of_memory = false); [[nodiscard]] siginfo_t wait_info() const; const TTY* tty() const { return m_tty; } -- cgit v1.2.3