[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: line numbers in openldap debugging

--On Friday, September 05, 2008 11:38 PM +1000 "Brett @Google" <brett.maxfield@gmail.com> wrote:

Is there any special magic to get source line numbers in gdb (bt or bt
full) ?

I tried :

CFLAGS="-g -g3 -ggdb -ggdb3" --enable-slapd --enable-shared
--enable-overlays --disable-ipv6 --with-threads --enable-ssl
--enable-collect --enable-debug

The CFLAGS added the gdb options when compiling, but did not provide
any line numbers for openldap source when doing backtraces under gdb..

Did you set STRIP to "" when running make install, so that the debugging symbols were preserved?


make install STRIP=""



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration