Replaced the temporary storage used in the kernel debug command parser. We now
have a simple dedicated heap for the kernel debugger with stacked allocation pools (deleting a pool frees all memory allocated in it). The heap should eventually be used for all commands that need temporary storage too large for the stack instead of each using its own static buffer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30949 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
// benaphore-style.
|
||||
#define KDEBUG KDEBUG_LEVEL_2
|
||||
|
||||
// Size of the heap used by the kernel debugger.
|
||||
#define KDEBUG_HEAP (64 * 1024)
|
||||
|
||||
// Set to 0 to disable support for kernel breakpoints.
|
||||
#define KERNEL_BREAKPOINTS 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user