summaryrefslogtreecommitdiffstats
path: root/sys/ddb
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_ps.c5
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)
OpenPOWER on IntegriCloud