summaryrefslogtreecommitdiffstats
path: root/tools/debugscripts
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 /tools/debugscripts
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 'tools/debugscripts')
-rw-r--r--tools/debugscripts/gdbinit.i3866
-rw-r--r--tools/debugscripts/gdbinit.kernel6
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/debugscripts/gdbinit.i386 b/tools/debugscripts/gdbinit.i386
index 38a3c99..e02b206 100644
--- a/tools/debugscripts/gdbinit.i386
+++ b/tools/debugscripts/gdbinit.i386
@@ -301,16 +301,16 @@ define btpa
set $nproc = nprocs
set $aproc = allproc.lh_first
set $proc = allproc.lh_first
- printf " pid proc addr uid ppid pgrp flag stat comm wchan\n"
+ printf " pid proc uid ppid pgrp flag stat comm wchan\n"
while (--$nproc >= 0)
set $pptr = $proc.p_pptr
if ($pptr == 0)
set $pptr = $proc
end
if ($proc.p_stat)
- printf "%5d %08x %08x %4d %5d %5d %06x %d %-10s ", \
+ printf "%5d %08x %4d %5d %5d %06x %d %-10s ", \
$proc.p_pid, $aproc, \
- $proc.p_uarea, $proc.p_cred->p_ruid, $pptr->p_pid, \
+ $proc.p_cred->p_ruid, $pptr->p_pid, \
$proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_stat, \
&$proc.p_comm[0]
if ($proc.p_wchan)
diff --git a/tools/debugscripts/gdbinit.kernel b/tools/debugscripts/gdbinit.kernel
index 4d0d140..91d85c2 100644
--- a/tools/debugscripts/gdbinit.kernel
+++ b/tools/debugscripts/gdbinit.kernel
@@ -199,7 +199,7 @@ define ps
set $nproc = nprocs
set $aproc = allproc.lh_first
set $proc = allproc.lh_first
- printf " pid proc addr uid ppid pgrp flag stat comm wchan\n"
+ printf " pid proc uid ppid pgrp flag stat comm wchan\n"
while (--$nproc >= 0)
set $pptr = $proc.p_pptr
if ($pptr == 0)
@@ -208,9 +208,9 @@ define ps
if ($proc.p_state)
set $thread = $proc->p_threads.tqh_first
while ($thread)
- printf "%5d %08x %08x %4d %5d %5d %06x %d %-10s ", \
+ printf "%5d %08x %4d %5d %5d %06x %d %-10s ", \
$proc.p_pid, $aproc, \
- $proc.p_uarea, $proc.p_ucred->cr_ruid, $pptr->p_pid, \
+ $proc.p_ucred->cr_ruid, $pptr->p_pid, \
$proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_state, \
&$proc.p_comm[0]
if ($thread.td_wchan)
OpenPOWER on IntegriCloud