diff options
Diffstat (limited to 'sys/kern/kern_proc.c')
| -rw-r--r-- | sys/kern/kern_proc.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index c1afc924c63e..8ed6b01e0272 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)kern_proc.c 8.7 (Berkeley) 2/14/95 - * $Id: kern_proc.c,v 1.20 1996/06/12 05:07:30 gpalmer Exp $ + * $Id: kern_proc.c,v 1.21 1996/07/09 16:51:10 wollman Exp $ */ #include <sys/param.h> @@ -77,9 +77,6 @@ LIST_HEAD(uihashhead, uidinfo) *uihashtbl; static u_long uihash; /* size of hash table - 1 */ static void orphanpg __P((struct pgrp *pg)); -#ifdef DEBUG -static void DDB_pgrpdump __P((void)); -#endif /* * Other process lists @@ -366,9 +363,11 @@ orphanpg(pg) } } -#ifdef DEBUG -static void -DDB_pgrpdump() +#include "opt_ddb.h" +#ifdef DDB +#include <ddb/ddb.h> + +DB_SHOW_COMMAND(pgrpdump, pgrpdump) { register struct pgrp *pgrp; register struct proc *p; @@ -391,7 +390,7 @@ DDB_pgrpdump() } } } -#endif /* DEBUG */ +#endif /* DDB */ /* * Fill in an eproc structure for the specified process. |
