From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20914 invoked by alias); 5 Jan 2005 03:10:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20865 invoked from network); 5 Jan 2005 03:10:03 -0000 Received: from unknown (HELO mailserv.unb.ca) (131.202.3.23) by sourceware.org with SMTP; 5 Jan 2005 03:10:03 -0000 Received: from gollum.unb.ca (gollum.unb.ca [131.202.3.51]) by mailserv.unb.ca (8.13.1/8.13.1) with ESMTP id j0539NKh011644; Tue, 4 Jan 2005 23:09:23 -0400 Received: from gollum.unb.ca (localhost.localdomain [127.0.0.1]) by gollum.unb.ca (8.12.11/8.12.8) with ESMTP id j0539NEL025148; Tue, 4 Jan 2005 23:09:23 -0400 Received: (from apache@localhost) by gollum.unb.ca (8.12.11/8.12.8/Submit) id j0539NnR025146; Tue, 4 Jan 2005 23:09:23 -0400 Received: from fctnnbsch17-156034031246.nb.aliant.net (fctnnbsch17-156034031246.nb.aliant.net [156.34.31.246]) by webmail.unb.ca (IMP) with HTTP for ; Tue, 4 Jan 2005 23:09:23 -0400 Message-ID: <1104894563.41db5a6383d89@webmail.unb.ca> Date: Wed, 05 Jan 2005 03:10:00 -0000 From: Adam Richard To: gdb@sources.redhat.com Cc: Daniel Jacobowitz Subject: Re: warning: Unable to find dynamic linker breakpoint function References: <1104355984.41d322909c42d@webmail.unb.ca> <20041229214406.GA5135@nevyn.them.org> <1104453359.41d49eef5093e@webmail.unb.ca> <20041231004046.GA17098@nevyn.them.org> <1104501082.41d5595a81666@webmail.unb.ca> <20041231190856.GA10862@nevyn.them.org> <1104879799.41db20b73f7eb@webmail.unb.ca> <20050104230644.GA27358@nevyn.them.org> In-Reply-To: <20050104230644.GA27358@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-UNB-MailScanner-Information: Please contact the ISP for more information X-UNB-VirusScanner: Found to be clean X-UNB-SpamDetails: X-MailScanner-From: g4c9z@unb.ca X-SW-Source: 2005-01/txt/msg00040.txt.bz2 > > > > > > I read somewhere that it > > > > > might > > > > > > have to do with a stripped gdb but I don't understand why I can't have a > > > stripped > > > > > gdb > > > > > > so I'm hoping for an explanation. > > > > > > > > > > Not a stripped GDB, a stripped dynamic linker (/lib/ld-linux.so.2). > > > > > > > > OK, why does a stripped dynamic linker impair debugging? I noticed that that > file > > > is > > > > part of the glibc package, and I can see why stripping it would prevent being > able > > > to > > > > step into its functions for any program which depends on it (which is most > > > programs). > > > > But I still don't understand your explanation. > > > > > > Because GDB has trouble finding the list of available shared libraries. > > > > I tried recompiling glibc without stripping it (at least I used the "nostrip" > option in > > Gentoo) and it didn't make a difference. Are you sure that's what makes the > warning go > > away? > > > > You'll have to debug GDB yourself to figure out why it's being > produced, then. Actually, I just discovered what was wrong. I didn't have debug info compiled into glibc. After including it (with the debug USE flag in Gentoo; I don't know how to do it normally), the warning went away. Thanks for all your help.