debugging system libraries

fandino fandino at ng.fadesa.es
Fri Jun 3 10:21:58 GMT 2005


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 ?? ()


More information about the freebsd-questions mailing list