This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Yann, what do you think of this patch? Thanks Johannes On Fri, Feb 24, 2012 at 04:51:13PM +0100, Johannes Stezenbach wrote: > # HG changeset patch > # User Johannes Stezenbach <js@sig21.net> > # Date 1330096112 -3600 > # Node ID f6c14b7a05a277baf06d9eb9f8dd0305b60d6449 > # Parent 9eabd89158098d1be51c45f46120092df0e78097 > 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> > > --- > with "all" every dynamically linked app prints a spew of > ld.so internal debug messages, it's not normally useful > > not sure about the "normal" name, maybe "application development" > would be better... > > > diff -r 9eabd8915809 -r f6c14b7a05a2 config/libc/uClibc.in > --- a/config/libc/uClibc.in Thu Feb 23 16:33:58 2012 +0100 > +++ b/config/libc/uClibc.in Fri Feb 24 16:08:32 2012 +0100 > @@ -166,6 +166,10 @@ > > config LIBC_UCLIBC_DEBUG_LEVEL_2 > bool > + prompt "normal" > + > +config LIBC_UCLIBC_DEBUG_LEVEL_3 > + bool > prompt "all" > > endchoice > diff -r 9eabd8915809 -r f6c14b7a05a2 scripts/build/libc/uClibc.sh > --- a/scripts/build/libc/uClibc.sh Thu Feb 23 16:33:58 2012 +0100 > +++ b/scripts/build/libc/uClibc.sh Fri Feb 24 16:08:32 2012 +0100 > @@ -528,6 +528,16 @@ > 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/ > s/^# DOASSERTS is not set.*/DOASSERTS=y/ > s/^# SUPPORT_LD_DEBUG is not set.*/SUPPORT_LD_DEBUG=y/ > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > > -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |