c++ - loading gdb source for a shared library -


i'm using gdb 7.2 on ubuntu 10.10

while stepping step point looks (literally) this:

0x00130a2c in boost::contexts::context::impl_t::impl_t(void (*)(void*), void*, unsigned int, boost::contexts::context::impl_t*, std::auto_ptr<boost::contexts::context::allocator_base>) () /home/lurscher/third_party/boost_1_45_0/stage/lib/libboost_context.so.1.45.0 

so want associate appropiate source files; should on /home/lurscher/third_party/boost_1_45_0/boost/context , /home/lurscher/third_party/boost_1_45_0/libs/context.

but truth i'm not sure how achieve this, been years since had debug in terminal mode

you can compile third-party library debugging symbols, , debugging symbols chain [i.e. if app compiled debugging symbols, can step through , see source lines within library]

boost jam takes debug argument instruct build debug version.

in gcc, debug symbols -g


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -