summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-16 04:08:02 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-16 04:08:02 +0000
commit2d421e4f94a0d6847efe7b12b1c2fd85762a44f6 (patch)
tree37b70a7b7a4c19c4a6c760c1d3f8e8b6e8cf0b50
parente0d39f93b5abe4ae984a4e846e02b3cb92e1d1dc (diff)
More detail on the use of MALLOC_DEBUG
-rw-r--r--extra/Configs/Config.in16
1 files changed, 12 insertions, 4 deletions
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"