From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10240 invoked by alias); 18 Jan 2007 16:32:49 -0000 Received: (qmail 10232 invoked by uid 22791); 18 Jan 2007 16:32:48 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 18 Jan 2007 16:32:43 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H7aBt-0003mL-KF; Thu, 18 Jan 2007 11:32:41 -0500 Date: Thu, 18 Jan 2007 16:32:00 -0000 From: Daniel Jacobowitz To: Fabian Cenedese Cc: gdb@sourceware.org Subject: Re: Complex location Message-ID: <20070118163241.GC14402@nevyn.them.org> Mail-Followup-To: Fabian Cenedese , gdb@sourceware.org References: <5.2.0.9.1.20070118170619.01863050@NT_SERVER> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.1.20070118170619.01863050@NT_SERVER> User-Agent: Mutt/1.5.13 (2006-08-11) 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-01/txt/msg00284.txt.bz2 On Thu, Jan 18, 2007 at 05:19:26PM +0100, Fabian Cenedese wrote: > Hi > > Gdb (6.5) often just says: > > (gdb) info scope Inos.cpp:556 > Scope for Inos.cpp:556: > Symbol this is a variable with complex or multiple locations (DWARF2), length 4. > Symbol var1 is a variable with complex or multiple locations (DWARF2), length 4. > Symbol var2 is a variable with complex or multiple locations (DWARF2), length 4. > > However how can this be complex? Ask the compiler. It probably moves from one register to another at some point in the life of the function. > "In general, we need a location expression pretty-printer - this is > quite complicated, so no one's done it yet." > > Seems like that is still the case, is that correct? Yes. I know this bugs Jim too :-) -- Daniel Jacobowitz CodeSourcery