From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15363 invoked by alias); 15 Oct 2003 13:52:12 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15339 invoked from network); 15 Oct 2003 13:51:57 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 15 Oct 2003 13:51:57 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1A9m4C-0005no-QU for ; Wed, 15 Oct 2003 09:51:56 -0400 Date: Wed, 15 Oct 2003 13:52:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: Dwarf information about a symbol Message-ID: <20031015135156.GA22221@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <3F856FA3.9020300@redhat.com> <20031015082657.63907.qmail@web60108.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031015082657.63907.qmail@web60108.mail.yahoo.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-10/txt/msg00199.txt.bz2 On Wed, Oct 15, 2003 at 01:26:57AM -0700, ankit thukral wrote: > hi all, > this is regarding the dwarf information regarding > a variable (which is in struct symbol in the following > field : symbol.aux_value.loc.baton.data ).can this > information change over different stages in the > process? for instance,if a variable ,which is in a > register during early stages of the program,ceases to > be in the register (due to less usage) and is stored > in memory,then the symbol Dwarf information should > change from DW_OP_regx to > DW_OP_fbreg. > i am not very sure whether my knowledge about the > compilation process (gcc , of course) is correct to > this end. To add to Keith's answer: - loc.baton.data will _not_ change. loc.baton.data may point to a list of different locations, however. - current gcc only occasionally generates location lists. It may be 3.5 before they're really available. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer