kernel: Reenable stack tracing in kernel-mode exceptions

Stack tracing in user-mode exceptions was moved to when a signal kills the process, but this isn't done for kernel-mode exceptions so there was no stack trace anymore.
This commit is contained in:
apio 2024-01-05 22:14:31 +01:00
parent 41c90aa436
commit 17b44a8ce6
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -105,6 +105,8 @@ void handle_cpu_exception(int signo, const char* err, Registers* regs)
return;
}
CPU::print_stack_trace_at(regs);
CPU::efficient_halt();
}