summaryrefslogtreecommitdiff
path: root/src/kernel/task
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/task')
-rw-r--r--src/kernel/task/task.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/task/task.cpp b/src/kernel/task/task.cpp
index 46fb4d4..4a802b8 100644
--- a/src/kernel/task/task.cpp
+++ b/src/kernel/task/task.cpp
@@ -116,11 +116,12 @@ uint32_t tasking_handleException(registers *regs) {
*ke_vt << "\nException in kernel. Stack trace:\n";
stack_trace(regs->ebp);
}
+ *ke_vt << "\n (PID " << current_thread->process->pid << ") ";
if (regs->int_no == 14) {
- *ke_vt << "\n>>> Process exiting.\n";
+ *ke_vt << ">>> Process exiting.\n";
thread_exit_stackJmp(EX_PR_EXCEPTION);
} else {
- *ke_vt << "\n>>> Thread exiting.\n";
+ *ke_vt << ">>> Thread exiting.\n";
thread_exit_stackJmp(EX_TH_EXCEPTION);
}
PANIC("This should never have happened. Please report this.");