summaryrefslogtreecommitdiffstats
path: root/sys/modules/vinum
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>1999-04-04 03:33:45 +0000
committergrog <grog@FreeBSD.org>1999-04-04 03:33:45 +0000
commit51fa2770453bbfdd2e24f97d58127572525f6cf9 (patch)
treed7845c0f51c081a456838b197c16539358187974 /sys/modules/vinum
parent24454265a439661581482aa8ed6f945a73f4290a (diff)
downloadFreeBSD-src-51fa2770453bbfdd2e24f97d58127572525f6cf9.zip
FreeBSD-src-51fa2770453bbfdd2e24f97d58127572525f6cf9.tar.gz
Correct forgotten defs in defproc macro
Diffstat (limited to 'sys/modules/vinum')
-rw-r--r--sys/modules/vinum/.gdbinit.kernel4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/vinum/.gdbinit.kernel b/sys/modules/vinum/.gdbinit.kernel
index 6d6f414..517430f 100644
--- a/sys/modules/vinum/.gdbinit.kernel
+++ b/sys/modules/vinum/.gdbinit.kernel
@@ -534,6 +534,10 @@ define defproc
set $proc = allproc.lh_first
while (--$nproc >= 0)
if ($proc->p_pid == $arg0)
+ set $pptr = $proc.p_pptr
+ if ($pptr == 0)
+ set $pptr = $proc
+ end
set $myvectorproc = $proc
if ($proc.p_stat)
printf "%5d %08x %08x %4d %5d %5d %06x %d %-10s ", \
OpenPOWER on IntegriCloud