In the case of libglib, I helped myself with the following:

(gdb) inf shared libglib
>From        To          Syms Read   Shared Object Library
0x055c8040  0x05628d78  Yes (*)     /lib/libglib-2.0.so.0
(*): Shared library is missing debugging information.

(gdb) add-symbol-file /usr/lib/debug/lib/libglib-2.0.so.0.2200.3
0x055c8040 -readnow

To do this for all libraries loaded, is a little cumbersome, though.
I am using gdb 7.

Am Donnerstag, den 24.12.2009, 20:43 +0100 schrieb Thomas Mittelstaedt:
> I try to get glib debug information for the glib libraries in backtraces
> on ubuntu karmic. Even though I installed the debug packages, gdb does
> not pick up the non-stripped library:
> ...
> I tried to set the symlink to point to the one in /usr/lib/debug, but
> that did not work. Do I have to build glib myself and install it in the
> same prefix as evolution?
> Thanks for help!


Evolution-hackers mailing list

Reply via email to