Kernel/serial - Heap dump option
authorJohn Hodge <[email protected]>
Tue, 21 Jan 2014 10:13:31 +0000 (18:13 +0800)
committerJohn Hodge <[email protected]>
Tue, 21 Jan 2014 10:13:31 +0000 (18:13 +0800)
KernelLand/Kernel/drv/serial.c

index 1b62b1b..08fb678 100644 (file)
@@ -73,6 +73,9 @@ void Serial_ByteReceived(tSerialPort *Port, char Ch)
                        case 'p':
                                Threads_Dump();
                                break;
+                       case 'h':
+                               Heap_Dump();
+                               break;
                        case 'X'-'A'+1:
                                PTY_SendInput(Port->PTY, &Ch, 1);
                                break;

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