Add debug flag DEBUG_EXITFREE to log problems freeing memory on exit.
This commit is contained in:
parent
7219232cce
commit
7eb81fb1ff
@ -569,6 +569,7 @@ enum debugflags {
|
|||||||
DEBUG_MEMFREE = 64, /* keep info about Frees */
|
DEBUG_MEMFREE = 64, /* keep info about Frees */
|
||||||
DEBUG_BIGDRIVE = 128, /* pretend our drives are 100 times the size */
|
DEBUG_BIGDRIVE = 128, /* pretend our drives are 100 times the size */
|
||||||
DEBUG_REMOTEGDB = 256, /* go into remote gdb */
|
DEBUG_REMOTEGDB = 256, /* go into remote gdb */
|
||||||
|
DEBUG_EXITFREE = 512, /* log "freeing malloc" on exit */
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef KERNEL
|
#ifdef KERNEL
|
||||||
|
Loading…
Reference in New Issue
Block a user