mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 11:09:18 +00:00
Kernel: Dump backtrace to debugger for DefaultSignalAction::DumpCore.
This makes assertion failures generate backtraces again. Sorry to everyone who suffered from the lack of backtraces lately. :^) We share code with the /proc/PID/stack implementation. You can now get the current backtrace for a Thread via Thread::backtrace(), and all the traces for a Process via Process::backtrace().
This commit is contained in:
parent
a599317624
commit
4316fa8123
Notes:
sideshowbarker
2024-07-19 13:03:15 +09:00
Author: https://github.com/awesomekling
Commit: 4316fa8123
5 changed files with 62 additions and 32 deletions
|
@ -56,6 +56,8 @@ public:
|
|||
Ring3 = 3,
|
||||
};
|
||||
|
||||
String backtrace(ProcessInspectionHandle&) const;
|
||||
|
||||
bool is_dead() const { return m_dead; }
|
||||
|
||||
Thread::State state() const { return main_thread().state(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue