Add debug flag DEBUG_EXITFREE to log problems freeing memory on exit.

This commit is contained in:
grog 1999-04-05 04:03:45 +00:00
parent 7219232cce
commit 7eb81fb1ff

View File

@ -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