This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, Jun 07, 2007 at 05:31:11PM +0200, Alejandro Homs wrote:
> 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? 

Yes; to use a separate debug file you need both --only-keep-debug and
--add-gnu-debuglink.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]