From 35f1e7649cd87c28e5f660d34306746279a0cf6f Mon Sep 17 00:00:00 2001 From: das Date: Sat, 20 Nov 2004 02:32:42 +0000 Subject: Remove the uarea column from the DDB 'ps' display, and from grog's gdb scripts. Reviewed by: arch@ --- tools/debugscripts/gdbinit.i386 | 6 +++--- tools/debugscripts/gdbinit.kernel | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tools/debugscripts') 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) -- cgit v1.1