This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] TLS resolving for separate_debug_objfile
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 1 Sep 2006 08:53:37 -0400
- Subject: Re: [patch] TLS resolving for separate_debug_objfile
- References: <20060901111241.GA23025@host0.dyn.jankratochvil.net>
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