From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10611 invoked by alias); 23 Nov 2006 19:58:57 -0000 Received: (qmail 10603 invoked by uid 22791); 23 Nov 2006 19:58:56 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.232) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 23 Nov 2006 19:58:52 +0000 Received: by wx-out-0506.google.com with SMTP id h26so692544wxd for ; Thu, 23 Nov 2006 11:58:50 -0800 (PST) Received: by 10.70.132.2 with SMTP id f2mr17299095wxd.1164311929802; Thu, 23 Nov 2006 11:58:49 -0800 (PST) Received: by 10.70.12.9 with HTTP; Thu, 23 Nov 2006 11:58:49 -0800 (PST) Message-ID: Date: Thu, 23 Nov 2006 19:58:00 -0000 From: "Rob Quill" To: "Rob Quill" , gdb@sourceware.org Subject: Re: Variable values before initialisaton In-Reply-To: <20061123195521.GA18110@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061123195521.GA18110@nevyn.them.org> 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: 2006-11/txt/msg00164.txt.bz2 Out of interest why is there no way to get it right? Do you think I should email the GCC list about it and ask, or do you think it's wasted effort? Thanks, Rob On 23/11/06, Daniel Jacobowitz wrote: > On Thu, Nov 23, 2006 at 05:32:39PM +0000, Rob Quill wrote: > > How could I go about looking into a fix? I wouldn't really know where > > to start, but it is quite annoying for what am trying to do. > > You have to emit proper debug info from the compiler. It's the only > thing that knows. However, for things where initialization is > complicated (like classes), there's basically no way to get it right. > > -- > Daniel Jacobowitz > CodeSourcery >