From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2201 invoked by alias); 1 Sep 2006 12:53:41 -0000 Received: (qmail 2192 invoked by uid 22791); 1 Sep 2006 12:53:41 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 01 Sep 2006 12:53:39 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GJ8Wf-0001wG-L0; Fri, 01 Sep 2006 08:53:37 -0400 Date: Fri, 01 Sep 2006 12:53:00 -0000 From: Daniel Jacobowitz To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [patch] TLS resolving for separate_debug_objfile Message-ID: <20060901125337.GA7408@nevyn.them.org> Mail-Followup-To: Jan Kratochvil , gdb-patches@sourceware.org References: <20060901111241.GA23025@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060901111241.GA23025@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00002.txt.bz2 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