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

line numbers in openldap debugging



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..

Cheers
Brett