From: Alan Cox Date: Sat, 10 Jan 2015 00:40:25 +0000 (+0000) Subject: process.c: fix build with the full debug enabled X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d1e83bee2e59a4f15e82726c6b5667939d05ccfb;p=FUZIX.git process.c: fix build with the full debug enabled --- diff --git a/Kernel/process.c b/Kernel/process.c index 2ca0349b..68481ba3 100644 --- a/Kernel/process.c +++ b/Kernel/process.c @@ -1,5 +1,5 @@ -#undef DEBUG /* turn this on to enable syscall tracing */ -#undef DEBUGHARDER /* report calls to wakeup() that lead nowhere */ +#define DEBUG /* turn this on to enable syscall tracing */ +#define DEBUGHARDER /* report calls to wakeup() that lead nowhere */ #undef DEBUGREALLYHARD /* turn on getproc dumping */ #include @@ -101,12 +101,12 @@ ptptr getproc(void) ptptr haltafter; #ifdef DEBUG #ifdef DEBUGREALLYHARD + ptptr pp; kputs("getproc start ... "); for (pp = ptab; pp < ptab_end; pp++) kprintf("ptab[0x%x]: pid=%d uid=%d status=%d, page=0x%x\n", pp, pp->p_pid, pp->p_uid, pp->p_status, pp->p_page); - */ #endif #endif /* yes please, interrupts on. */