mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
libc/uClibc: add additional debug level between "minimal" and "all"
During application development it is desirable to enable malloc debugging and LD_DEBUG support, but the extensive debug spew from SUPPORT_LD_DEBUG_EARLY is only useful when working on uClibc's ld.so. Signed-off-by: Johannes Stezenbach <js@sig21.net>
This commit is contained in:
parent
235b9ae135
commit
2aee11ccf2
@ -171,6 +171,10 @@ config LIBC_UCLIBC_DEBUG_LEVEL_1
|
||||
prompt "minimal"
|
||||
|
||||
config LIBC_UCLIBC_DEBUG_LEVEL_2
|
||||
bool
|
||||
prompt "normal"
|
||||
|
||||
config LIBC_UCLIBC_DEBUG_LEVEL_3
|
||||
bool
|
||||
prompt "all"
|
||||
|
||||
|
@ -526,6 +526,16 @@ mungeuClibcConfig() {
|
||||
ENDSED
|
||||
;;
|
||||
2)
|
||||
cat <<-ENDSED
|
||||
s/^# DODEBUG is not set.*/DODEBUG=y/
|
||||
s/^DODEBUG_PT=y/# DODEBUG_PT is not set/
|
||||
s/^# DOASSERTS is not set.*/DOASSERTS=y/
|
||||
s/^# SUPPORT_LD_DEBUG is not set.*/SUPPORT_LD_DEBUG=y/
|
||||
s/^SUPPORT_LD_DEBUG_EARLY=y/# SUPPORT_LD_DEBUG_EARLY is not set/
|
||||
s/^# UCLIBC_MALLOC_DEBUGGING is not set/UCLIBC_MALLOC_DEBUGGING=y/
|
||||
ENDSED
|
||||
;;
|
||||
3)
|
||||
cat <<-ENDSED
|
||||
s/^# DODEBUG is not set.*/DODEBUG=y/
|
||||
s/^# DODEBUG_PT is not set.*/DODEBUG_PT=y/
|
||||
|
Loading…
x
Reference in New Issue
Block a user