mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 01:27:42 +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()
|
void Process::crash()
|
||||||
{
|
{
|
||||||
ASSERT_INTERRUPTS_DISABLED();
|
ASSERT_INTERRUPTS_DISABLED();
|
||||||
ASSERT(is_ring3());
|
|
||||||
ASSERT(state() != Dead);
|
ASSERT(state() != Dead);
|
||||||
m_termination_signal = SIGSEGV;
|
m_termination_signal = SIGSEGV;
|
||||||
dump_regions();
|
dump_regions();
|
||||||
|
ASSERT(is_ring3());
|
||||||
die();
|
die();
|
||||||
ASSERT_NOT_REACHED();
|
ASSERT_NOT_REACHED();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue