mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
Kernel: Generate coredump backtraces from "threads for coredump" list
This broke with the change that gave each process a list of its own threads. Since threads are removed slightly earlier from that list during process teardown, we're not able to use it for generating coredump backtraces. Fortunately we have the "threads for coredump" list for just this purpose. :^)
This commit is contained in:
parent
b72f067f0d
commit
5ff355c0cd
4 changed files with 10 additions and 6 deletions
|
@ -785,6 +785,7 @@ public:
|
|||
u32 stack_ptr() const { return m_tss.esp; }
|
||||
|
||||
RegisterState& get_register_dump_from_stack();
|
||||
const RegisterState& get_register_dump_from_stack() const { return const_cast<Thread*>(this)->get_register_dump_from_stack(); }
|
||||
|
||||
TSS32& tss() { return m_tss; }
|
||||
const TSS32& tss() const { return m_tss; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue