From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20296 invoked by alias); 8 Nov 2007 18:44:20 -0000 Received: (qmail 20268 invoked by uid 22791); 8 Nov 2007 18:44:19 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 Nov 2007 18:44:16 +0000 Received: (qmail 4063 invoked from network); 8 Nov 2007 18:44:15 -0000 Received: from unknown (HELO ?192.168.0.2?) (mitchell@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Nov 2007 18:44:15 -0000 Message-ID: <473358F6.4010905@codesourcery.com> Date: Thu, 08 Nov 2007 20:41:00 -0000 From: Mark Mitchell User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: David Daney CC: Alexandre Oliva , Ian Lance Taylor , Richard Guenther , gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: Designs for better debug info in GCC References: <84fc9c000711050327x74845c78ya18a3329fcf9e4d2@mail.gmail.com> <4732519C.6070802@codesourcery.com> <4733554D.4040402@codesourcery.com> <47335778.4020701@avtrex.com> In-Reply-To: <47335778.4020701@avtrex.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg00256.txt.bz2 David Daney wrote: >> (a) if the variable has not been optimized away, gives the location >> where that variable's current value can be found, or >> (b) if the variable has been optimized away, and the value is not a >> constant, says that the value is not available, or > > Perhaps if the variable has been optimized away *but* it is possible to > calculate its value by examining the state of the program, then we can > emit the expression needed to calculate its value in the debugging > information as well. Yes, that's a good addition. To be clear, I'm not trying to set the goals here; I'm just trying to make sure we have a clear set of objectives and a plan to get there. Thanks, -- Mark Mitchell CodeSourcery mark@codesourcery.com (650) 331-3385 x713