Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jun 2005 12:21:51 +0200
From:      fandino <fandino@ng.fadesa.es>
To:        freebsd-questions@freebsd.org
Subject:   debugging system libraries
Message-ID:  <42A02F3F.1060202@ng.fadesa.es>

next in thread | raw e-mail | index | archive | help
Hello,

I run an application which segsfaults in the libpthread library and I
wonder if it could be possible enable debuging info in this libraries.

By now I added "-g" to the list the global compile flags but the symbols
are stripped by the installation script.

how could I get system libraries with symbols?

thank you.

(gdb) bt
#0  0x282ec31b in pthread_testcancel () from /usr/lib/libpthread.so.1
#1  0x282e4902 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
#2  0x00000000 in ?? ()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42A02F3F.1060202>