diff options
author | jb <jb@FreeBSD.org> | 2006-10-26 21:42:22 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2006-10-26 21:42:22 +0000 |
commit | f82c7997354f95e680341bb8e10136ded5fd15eb (patch) | |
tree | 2136d90e7e60f4ef25fe147499787d0e6a155b82 /sys/ddb | |
parent | b3e38fbc69f126c6cc49a0a6e45096d6c01b7c43 (diff) | |
download | FreeBSD-src-f82c7997354f95e680341bb8e10136ded5fd15eb.zip FreeBSD-src-f82c7997354f95e680341bb8e10136ded5fd15eb.tar.gz |
Make KSE a kernel option, turned on by default in all GENERIC
kernel configs except sun4v (which doesn't process signals properly
with KSE).
Reviewed by: davidxu@
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_ps.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c index 603eb85..853675a 100644 --- a/sys/ddb/db_ps.c +++ b/sys/ddb/db_ps.c @@ -292,8 +292,12 @@ DB_SHOW_COMMAND(thread, db_show_thread) td = kdb_thread; db_printf("Thread %d at %p:\n", td->td_tid, td); +#ifdef KSE db_printf(" proc (pid %d): %p ", td->td_proc->p_pid, td->td_proc); db_printf(" ksegrp: %p\n", td->td_ksegrp); +#else + db_printf(" proc (pid %d): %p\n", td->td_proc->p_pid, td->td_proc); +#endif if (td->td_name[0] != '\0') db_printf(" name: %s\n", td->td_name); db_printf(" flags: %#x ", td->td_flags); |