1
Fork 0
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:
Andreas Kling 2019-05-22 13:22:27 +02:00
parent e388808479
commit c048ded470

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