diff options
author | David Schultz <das@FreeBSD.org> | 2004-11-20 02:32:42 +0000 |
---|---|---|
committer | David Schultz <das@FreeBSD.org> | 2004-11-20 02:32:42 +0000 |
commit | 626ff2081fd054b971c71aedddcd45f42efb406a (patch) | |
tree | a09318c7a1b3ce31591cb2d645ba8ac884b71fbf /tools/debugscripts | |
parent | b99d6e6f6fe3a76cb6aa0f490f41d8a9e210e3ba (diff) | |
download | src-626ff2081fd054b971c71aedddcd45f42efb406a.tar.gz src-626ff2081fd054b971c71aedddcd45f42efb406a.zip |
Remove the uarea column from the DDB 'ps' display, and from grog's gdb
scripts.
Reviewed by: arch@
Notes
Notes:
svn path=/head/; revision=137923
Diffstat (limited to 'tools/debugscripts')
-rw-r--r-- | tools/debugscripts/gdbinit.i386 | 6 | ||||
-rw-r--r-- | tools/debugscripts/gdbinit.kernel | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/debugscripts/gdbinit.i386 b/tools/debugscripts/gdbinit.i386 index 38a3c99fbd6f..e02b2063f509 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 4d0d14011199..91d85c22a57c 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) |