From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27403 invoked by alias); 17 Jun 2005 13:56:51 -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 27216 invoked by uid 22791); 17 Jun 2005 13:56:32 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 17 Jun 2005 13:56:32 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1DjHKg-0006Tj-SK for gdb@sources.redhat.com; Fri, 17 Jun 2005 09:56:30 -0400 Date: Fri, 17 Jun 2005 13:56:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: Display libc function names instead of address ? Message-ID: <20050617135630.GA24853@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <1118892960.12713.5.camel@haypopc> <20050616182936.GA4062@nevyn.them.org> <20050616190315.GA5572@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-06/txt/msg00185.txt.bz2 On Fri, Jun 17, 2005 at 12:44:21PM +0200, Eli Zaretskii wrote: > > Date: Thu, 16 Jun 2005 15:03:15 -0400 > > From: Daniel Jacobowitz > > Cc: victor.stinner@haypocalc.com, gdb@sources.redhat.com > > > > Yes, Windows is not affected by this problem - it's related to shared > > libraries and dynamic linking, and Windows DLL linking is different > > enough that it does not have this quirk - though I'm sure it has plenty > > of its own. > > Ah, the lights go on: so this problem only happens with dynamically > linked programs? If so, that is what I was missing. Thanks for > explaining it. Right! Sorry that wasn't clear. The patch actually affects things other than dynamic linking - but not for most platforms. It fills in symbols at places where there are no symbols in the ELF object, but symbols would be useful to have, and there's a logical symbol to put there. Another example is PowerPC64 "dot" symbols, which label function descriptors. -- Daniel Jacobowitz CodeSourcery, LLC