libpython2.4.so: Cannot load symbols for shared library with separate debuginfo

Alejandro Homs ahoms@cells.es
Thu Jun 7 15:31:00 GMT 2007


Thanks a lot for your fast response!

> It should always try to load the separate debug file.  Is
> debug-file-directory set to /usr/lib/debug, and is there a
> .gnu_debuglink section in libpython.2.4.so.1.0?  You may have
> to debug GDB to find out what it thinks it's doing.

You are right, the debug-file-directory is pointing to /usr/lib/debug, but
there is no .gnu_debuglink section in libpython.2.4.so.1.0.
I am obliged to generate the .gnu_debuglink section? 

I did it already with objcopy and it works!! But I had to modify
/usr/lib/libpython2.4.so.1.0 ...

Thanks again for your help!

Alejandro



More information about the Gdb mailing list