From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12981 invoked by alias); 16 Jan 2008 21:13:08 -0000 Received: (qmail 12969 invoked by uid 22791); 16 Jan 2008 21:13:08 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 16 Jan 2008 21:12:48 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id E4E2C26A58; Wed, 16 Jan 2008 22:12:45 +0100 (CET) From: Andreas Schwab To: Eli Zaretskii Cc: uweigand@de.ibm.com, brobecker@adacore.com, msnyder@specifix.com, mark.kettenis@xs4all.nl, gdb-patches@sourceware.org Subject: Re: [RFC/RFA?] Should break FILE:LINENO skip prologue? References: <200801152140.m0FLeMha003566@d12av02.megacenter.de.ibm.com> X-Yow: Sometime in 1993 NANCY SINATRA will lead a BLOODLESS COUP on GUAM!! Date: Wed, 16 Jan 2008 21:13:00 -0000 In-Reply-To: (Eli Zaretskii's message of "Wed\, 16 Jan 2008 20\:48\:36 +0200") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00415.txt.bz2 Eli Zaretskii writes: > Or are you talking only about the case of missing debug info? Yes. For example, if libc has no debug info then printf (which is a symbol in the .opd section) resolves to the function descriptor address, and to get the real code address you need to use '._IO_printf'. The ppc64 target is pretty unique in this behaviour, on ia64 you don't have this problem even though it uses function descriptors as well. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."