mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +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(regs);
|
||||||
|
|
||||||
|
dump_backtrace();
|
||||||
|
|
||||||
if (current->process().is_ring0()) {
|
if (current->process().is_ring0()) {
|
||||||
kprintf("Oh shit, we've crashed in ring 0 :(\n");
|
kprintf("Oh shit, we've crashed in ring 0 :(\n");
|
||||||
hang();
|
hang();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue