diff options
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ddb/db_thread.c b/sys/ddb/db_thread.c index 43ed4f6..f6712a0 100644 --- a/sys/ddb/db_thread.c +++ b/sys/ddb/db_thread.c @@ -94,7 +94,8 @@ db_show_threads(db_expr_t addr, boolean_t hasaddr, db_expr_t cnt, char *mod) thr = kdb_thr_first(); while (!db_pager_quit && thr != NULL) { - db_printf(" %6ld (%p) ", (long)thr->td_tid, thr); + db_printf(" %6ld (%p) (stack %p) ", (long)thr->td_tid, thr, + (void *)thr->td_kstack); prev_jb = kdb_jmpbuf(jb); if (setjmp(jb) == 0) { if (db_trace_thread(thr, 1) != 0) |