aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2007-10-16 17:52:59 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2007-10-16 17:52:59 +0000
commita0f4a3a63b9a40b76a44b0388ba82940be68843d (patch)
treed8d3d9966db9229481bc27394cf4f98364eee8cc /sys
parentb201f5360cc8ca00b9e78a6c09423bba44474ee4 (diff)
downloadsrc-a0f4a3a63b9a40b76a44b0388ba82940be68843d.tar.gz
src-a0f4a3a63b9a40b76a44b0388ba82940be68843d.zip
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/ddb/db_ps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c
index 9efd87107bc9..5d5e068c57f7 100644
--- a/sys/ddb/db_ps.c
+++ b/sys/ddb/db_ps.c
@@ -295,6 +295,8 @@ DB_SHOW_COMMAND(thread, db_show_thread)
db_printf(" proc (pid %d): %p\n", td->td_proc->p_pid, td->td_proc);
if (td->td_name[0] != '\0')
db_printf(" name: %s\n", td->td_name);
+ db_printf(" stack: %p-%p\n", (void *)td->td_kstack,
+ (void *)(td->td_kstack + td->td_kstack_pages * PAGE_SIZE - 1));
db_printf(" flags: %#x ", td->td_flags);
db_printf(" pflags: %#x\n", td->td_pflags);
db_printf(" state: ");