From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8686 invoked by alias); 13 Mar 2007 09:15:01 -0000 Received: (qmail 8668 invoked by uid 22791); 13 Mar 2007 09:14:59 -0000 X-Spam-Check-By: sourceware.org Received: from ns1.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 Mar 2007 09:14:54 +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 F01E712260; Tue, 13 Mar 2007 10:14:51 +0100 (CET) From: Andreas Schwab To: Joel Brobecker Cc: Rich Rattanni , Michael Snyder , gdb@sourceware.org Subject: Re: Cause of the ?? in backtrace References: <3187bd480703120747h332fbf12gab39d77719c910f9@mail.gmail.com> <1173744387.11051.24.camel@localhost.localdomain> <3187bd480703122048v4b1482f0n1cffd1f473af5193@mail.gmail.com> <20070313040804.GQ14401@adacore.com> X-Yow: It's the RINSE CYCLE!! They've ALL IGNORED the RINSE CYCLE!! Date: Tue, 13 Mar 2007 09:15:00 -0000 In-Reply-To: <20070313040804.GQ14401@adacore.com> (Joel Brobecker's message of "Mon, 12 Mar 2007 21:08:04 -0700") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (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-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00184.txt.bz2 Joel Brobecker writes: >> In order to ensure the library has debug info built into it, do you >> just need to build the library with the -g option specified during >> compilation? Or is it more involved? > > Building it with -g should be sufficient. However, even if the library > was not built with debug info, we should still have the symbol table > to work with, right? Unless it is stripped. The dynamic symbol table may not be enough. 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."