Kernel: Dump backtrace on illegal opcode exception.

This commit is contained in:
Andreas Kling 2019-05-22 13:22:27 +02:00
commit c048ded470
Notes: sideshowbarker 2024-07-19 13:59:25 +09:00

View file

@ -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();