Approaching the nineth circle of hell
today I had a problem debugging a GTK+ module (libatk-bridge.so). It threw a warning which looked like it was coming from my application:
** (criawips:26563): WARNING **: failure: no device event controller found.
By using grep I realized pretty quickly that the message didn't come from my application. The gdb was at least able to tell me where the meesage came from (after breaking on g_log):
#0 IA__g_log (log_domain=0x0, log_level=G_LOG_LEVEL_WARNING,
format=0xb6bde62c "failure: no device event controller found.\n") at gmessages.c:516
#1 0xb6bdc0f8 in ?? () from /usr/lib/gtk-2.0/modules/libatk-bridge.so
#2 0x00000000 in ?? ()
And then I thought »Hey, nice, let's install debug symbols«. I installed
at-spi-dbgsym(Ubuntu ddeb). But now I have this problem: gdb doesn't load the symbols from the debug.so (/usr/lib/debug/usr/lib/gtk-2.0/modules/libatk-bridge.so). How do I tell gdb to do? Please don't just mention a command like "sharedlibrary" (because I already tried that). The documentation is a bit poor on this and I think more people are interested in debugging GTK+ modules.