On mar, nov 13, 2012 at 08:56:24 +0100, Daniel Stenberg wrote:
> curl -V displays 'Debug' as a feature, which indicates that curl and
> libcurl are built with 'configure --enable-debug' or similar.
> 
> The effect if this is that verbose outputs include a lot of debug info
> and other data and texts that are intended for debug purposes only and
> which don't really make a lot of sense or convey useful information to
> ordinary humans.
> 
> In short, the debug feature is meant to be for developers and debuggers
> of curl/libcurl, not mere users of them.
> 
> I suggest future versions switch off the debug option.

IIRC that was added to enable debug symbols (i.e. what's shipped in the -dbg
package). See #648902 [0] and LP#855291 [1].

Even explicitly passing -g to ./configure CFLAGs doesn't work:

> % objdump -h nodbg/usr/lib/debug/.build-id/*/* | grep -c \\.debug
> 3

With --enable-debug:

> % objdump -h dbg/usr/lib/debug/.build-id/*/* | grep -c \\.debug
> 24

Is there an option I've missed to do this?

Cheers

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648902
[1] https://bugs.launchpad.net/ubuntu/+source/curl/+bug/855291

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'

Attachment: signature.asc
Description: Digital signature

Reply via email to