summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_ps.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-11-20 02:32:42 +0000
committerdas <das@FreeBSD.org>2004-11-20 02:32:42 +0000
commit35f1e7649cd87c28e5f660d34306746279a0cf6f (patch)
treea09318c7a1b3ce31591cb2d645ba8ac884b71fbf /sys/ddb/db_ps.c
parent917ee093095fe4163cd7d93146ea55218de4a04c (diff)
downloadFreeBSD-src-35f1e7649cd87c28e5f660d34306746279a0cf6f.zip
FreeBSD-src-35f1e7649cd87c28e5f660d34306746279a0cf6f.tar.gz
Remove the uarea column from the DDB 'ps' display, and from grog's gdb
scripts. Reviewed by: arch@
Diffstat (limited to 'sys/ddb/db_ps.c')
-rw-r--r--sys/ddb/db_ps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c
index b03382d..b5175b7 100644
--- a/sys/ddb/db_ps.c
+++ b/sys/ddb/db_ps.c
@@ -66,7 +66,7 @@ db_ps(dummy1, dummy2, dummy3, dummy4)
p = &proc0;
db_setup_paging(db_simple_pager, &quit, db_lines_per_page);
- db_printf(" pid proc uarea uid ppid pgrp flag stat wmesg wchan cmd\n");
+ db_printf(" pid proc uid ppid pgrp flag stat wmesg wchan cmd\n");
while (--np >= 0 && !quit) {
if (p == NULL) {
printf("oops, ran out of processes early!\n");
@@ -95,8 +95,8 @@ db_ps(dummy1, dummy2, dummy3, dummy4)
state = "Unkn";
break;
}
- db_printf("%5d %8p %8p %4d %5d %5d %07x %s",
- p->p_pid, (volatile void *)p, (void *)p->p_uarea,
+ db_printf("%5d %8p %4d %5d %5d %07x %s",
+ p->p_pid, (volatile void *)p,
p->p_ucred != NULL ? p->p_ucred->cr_ruid : 0, pp->p_pid,
p->p_pgrp != NULL ? p->p_pgrp->pg_id : 0, p->p_flag,
state);
OpenPOWER on IntegriCloud