[patch] TLS resolving for separate_debug_objfile

Daniel Jacobowitz drow@false.org
Fri Sep 1 12:53:00 GMT 2006


On Fri, Sep 01, 2006 at 01:12:41PM +0200, Jan Kratochvil wrote:
> Hi,
> 
> attached patch will fix
> 	(gdb) print errno
> 
> otherwise producing 
> 	Cannot find shared library `/usr/lib/debug/lib/libc-2.4.90.so.debug' in dynamic linker's load module list
> 
> for me on Fedora Core 5/devel.  Despite I also attached the testsuite the
> testsuite itself is probably not suitable for the mainline as I failed to
> reproduce the bug on CVS version of GDB (OK, I did not try too much, I believe
> mainline GDB will not find the separate debuginfo file there at all).

Can you reproduce it on mainline if you build it with --prefix=/usr, as
opposed to the default of /usr/local?  I know that I get very different
results on Debian depending which prefix I configure with, because of
separate debug info.


-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list