From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5961 invoked by alias); 15 Oct 2003 09:12:43 -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 5954 invoked from network); 15 Oct 2003 09:12:42 -0000 Received: from unknown (HELO mhsun1.maidenhead.arm.com) (193.131.176.54) by sources.redhat.com with SMTP; 15 Oct 2003 09:12:42 -0000 Received: from mhpc6.arm.com (mhpc6.maidenhead.arm.com [192.168.2.53]) by mhsun1.maidenhead.arm.com (8.9.3/8.9.3) with ESMTP id KAA04480; Wed, 15 Oct 2003 10:12:32 +0100 (BST) Message-Id: <4.3.2.7.2.20031015095546.02ae7880@mhsun1.maidenhead.arm.com> X-Sender: kwalker@mhsun1.maidenhead.arm.com Date: Wed, 15 Oct 2003 09:12:00 -0000 To: ankit thukral , gdb@sources.redhat.com From: Keith Walker Subject: Re: Dwarf information about a symbol In-Reply-To: <20031015082657.63907.qmail@web60108.mail.yahoo.com> References: <3F856FA3.9020300@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2003-10/txt/msg00198.txt.bz2 At 01:26 15/10/2003 -0700, ankit thukral wrote: >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. Yes this can be described in DWARF-2 (and DWARF-3) The actual location (ie. the register, memory address, etc) is described by a Location Expression. This is sufficient to describe an item if it's location does not vary. The ability to vary the location of an item is then described by a Location List. A Location List is a list of . Using a Location List therefore allows the actual location to vary depending on the current PC value. Support for Location Lists has only recently been implemented and made available in gdb 6.0 Obviously this does rely on the compiler generating the relevant Location List information in the first place for the debugger to use. Keith Keith Walker Tel:+44 (1628) 427732 ARM Ltd, Liberty House, Moorbridge Road, Maidenhead, SL6 8LT UK This e-mail message is intended for the addressee(s) only and may contain information that is the property of, and/or subject to a confidentiality agreement between the intended recipient(s), their organisation and/or the ARM Group of Companies. If you are not an intended recipient of this e-mail message, you should not read, copy, forward or otherwise distribute or further disclose the information in it; misuse of the contents of this e-mail message may violate various laws in your state, country or jurisdiction. If you have received this e-mail message in error, please contact the originator of this e-mail message via e-mail and delete all copies of this message from your computer or network, thank you.