[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to use the libstdc++5-dbg package?



After setting LD_LIBRARY_PATHY to /usr/lib/debug, and firing up the
debugger, I can see that the correct libstdc++.so is being found (i.e.,
the one with the debugging symbols).  And stepping into those functions
works, in that it knows the file/line location.

However, the debugger can't print any useful source, because of course it
doesn't know where to look to get the libstdc++ source, which makes the
dbg package much less useful.

Am I missing a package?  I know enough about the libstdc++ source (*cough*
:-) to know that simply pointing ddd/gdb at the top of the library source
tree won't work, because the files are renamed during build and install.

Is there a "source package for use when debugging"?


Thanks,
Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002



Reply to: