diff --git a/kernel/src/thread/Scheduler.cpp b/kernel/src/thread/Scheduler.cpp index 35cb458d..79d024da 100644 --- a/kernel/src/thread/Scheduler.cpp +++ b/kernel/src/thread/Scheduler.cpp @@ -457,8 +457,9 @@ namespace Scheduler for (const auto* thread : g_threads) { - kdbgln("Thread %p (belongs to pid %4d) %c [%-20s] %4d, state = %d", thread, thread->process->id, - thread->is_kernel ? 'k' : 'u', thread->cmdline.chars(), thread->tid, (int)thread->state); + kdbgln("Thread %p (belongs to pid %4d) %c [%-20s] %4d, state = %d, ip = %p", thread, thread->process->id, + thread->is_kernel ? 'k' : 'u', thread->cmdline.chars(), thread->tid, (int)thread->state, + (void*)thread->ip()); } for (const auto* process : g_processes)