mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00: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:
parent
3611427ce2
commit
3295137224
6 changed files with 23 additions and 6 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue