summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2023-01-30 12:10:29 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-08 18:19:48 +0000
commit329513722489db94b2e90d5aa0ae924a401fd027 (patch)
tree0cb5e3cb58824a09c0d01b6621ec11eecf2ce941 /Kernel/Process.h
parent3611427ce243efe48fcbca573781fa7e9f82b558 (diff)
downloadserenity-329513722489db94b2e90d5aa0ae924a401fd027.zip
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.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h2
1 files changed, 1 insertions, 1 deletions
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<RegisterState const&> regs, bool out_of_memory = false);
[[nodiscard]] siginfo_t wait_info() const;
const TTY* tty() const { return m_tty; }