diff options
Diffstat (limited to 'Source/Kernel/TaskManager')
-rw-r--r-- | Source/Kernel/TaskManager/Thread.class.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Kernel/TaskManager/Thread.class.cpp b/Source/Kernel/TaskManager/Thread.class.cpp index 93a2cd3..072a505 100644 --- a/Source/Kernel/TaskManager/Thread.class.cpp +++ b/Source/Kernel/TaskManager/Thread.class.cpp @@ -88,6 +88,7 @@ void Thread::handleException(registers_t regs, int no) { *(m_process->m_vt) << "\nUnhandled exception " << (s32int)no << " at " << (u32int)regs.cs << ":" << (u32int)regs.eip << "\n:: " << exceptions[no]; + if (m_isKernel) PANIC_DUMP("Exception in kernel thread", ®s); if (no == 14) { //Page fault int present = !(regs.err_code & 0x1); |