From 2d421e4f94a0d6847efe7b12b1c2fd85762a44f6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 16 Oct 2003 04:08:02 +0000 Subject: More detail on the use of MALLOC_DEBUG --- extra/Configs/Config.in | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'extra/Configs') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 069fed597..2f2276fd8 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -976,10 +976,18 @@ config UCLIBC_MALLOC_DEBUGGING default n help Answer Y here to compile extra debugging support code into malloc. - Malloc debugging output may then be enabled at runtime using - the MALLOC_DEBUG environment variable. Because this increases - the size of malloc appreciably (due to strings etc), you - should say N unless you need to debug a malloc problem. + Malloc debugging output may then be enabled at runtime using the + MALLOC_DEBUG environment variable. + + The value of MALLOC_DEBUG should be an integer, which is interpreted as + a bitmask with the following bits: + 1 - do extra consistency checking + 2 - output messages for malloc/free calls and OS allocation calls + 4 - output messages for the `MMB' layer + 8 - output messages for internal malloc heap manipulation calls + + Because this increases the size of malloc appreciably (due to strings + etc), you should say N unless you need to debug a malloc problem. config UCLIBC_MJN3_ONLY bool "Manuel's hidden warnings" -- cgit v1.2.3