mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 17:58:12 +00:00
Kernel: Dump backtrace on illegal opcode exception.
This commit is contained in:
parent
e388808479
commit
c048ded470
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,8 @@ void exception_6_handler(RegisterDump& regs)
|
|||
|
||||
dump(regs);
|
||||
|
||||
dump_backtrace();
|
||||
|
||||
if (current->process().is_ring0()) {
|
||||
kprintf("Oh shit, we've crashed in ring 0 :(\n");
|
||||
hang();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue