Kernel/debug - Enabled vterm traces, removed threads from panic
authorJohn Hodge (sonata) <[email protected]>
Sun, 11 Aug 2013 14:54:49 +0000 (22:54 +0800)
committerJohn Hodge (sonata) <[email protected]>
Sun, 11 Aug 2013 14:54:49 +0000 (22:54 +0800)
KernelLand/Kernel/debug.c

index c9a2964..7e8acba 100644 (file)
@@ -7,7 +7,7 @@
 
 #define        DEBUG_MAX_LINE_LEN      256
 #define        LOCK_DEBUG_OUTPUT       1       // Avoid interleaving of output lines?
 
 #define        DEBUG_MAX_LINE_LEN      256
 #define        LOCK_DEBUG_OUTPUT       1       // Avoid interleaving of output lines?
-#define TRACE_TO_KTERM 0       // Send ENTER/DEBUG/LEAVE to debug?
+#define TRACE_TO_KTERM         1       // Send ENTER/DEBUG/LEAVE to debug?
 
 // === IMPORTS ===
 extern void    Threads_Dump(void);
 
 // === IMPORTS ===
 extern void    Threads_Dump(void);
@@ -250,8 +250,8 @@ void Panic(const char *Fmt, ...)
        Debug_Putchar('\r');
        Debug_Putchar('\n');
 
        Debug_Putchar('\r');
        Debug_Putchar('\n');
 
-       Threads_Dump();
-       Heap_Dump();
+       //Threads_Dump();
+       //Heap_Dump();
 
        for(;;) ;
 }
 
        for(;;) ;
 }

UCC git Repository :: git.ucc.asn.au