summaryrefslogtreecommitdiffstats
path: root/sys/modules/vinum
diff options
context:
space:
mode:
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