diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ddb/db_ps.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c index d414673..6cefaef 100644 --- a/sys/ddb/db_ps.c +++ b/sys/ddb/db_ps.c @@ -181,8 +181,11 @@ dumpthread(volatile struct proc *p, volatile struct thread *td) case TDS_RUNNING: db_printf("[CPU %d]", td->td_oncpu); break; + case TDS_INACTIVE: + db_printf("[INACTIVE]"); + break; default: - panic("unknown thread state"); + db_printf("[UNK: %#x]", td->td_state); } if (p->p_flag & P_THREADED) { if (td->td_kse) |