diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-19 18:50:02 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-19 18:51:17 +0200 |
commit | 15bea7153a55f149c3c3c97ff78ab0f5740bfbd2 (patch) | |
tree | 80d07f5cf596608d2c4fc64c4c36b037af233567 /Kernel/Process.h | |
parent | c5d623e04847d06ae4ee5c9bcc441ab80e4f6b8f (diff) | |
download | serenity-15bea7153a55f149c3c3c97ff78ab0f5740bfbd2.zip |
Kernel: Symbolicate the crash address too, not just the call stack.
Also print it in shiny red to make it extra easy to spot. :^)
Fixes #244.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index 90b685d582..46f5b895a1 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -204,7 +204,7 @@ public: static void initialize(); - [[noreturn]] void crash(int signal = SIGSEGV); + [[noreturn]] void crash(int signal, dword eip); [[nodiscard]] static int reap(Process&); const TTY* tty() const { return m_tty; } |