mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 20:22:13 +00:00
Process: Dump regions when a ring0 process crashes.
This commit is contained in:
parent
90d3375dc2
commit
7e623e7ff2
1 changed files with 1 additions and 1 deletions
|
@ -934,10 +934,10 @@ void Process::push_value_on_stack(dword value)
|
|||
void Process::crash()
|
||||
{
|
||||
ASSERT_INTERRUPTS_DISABLED();
|
||||
ASSERT(is_ring3());
|
||||
ASSERT(state() != Dead);
|
||||
m_termination_signal = SIGSEGV;
|
||||
dump_regions();
|
||||
ASSERT(is_ring3());
|
||||
die();
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue