From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7720 invoked by alias); 21 Feb 2003 17:47:20 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7702 invoked from network); 21 Feb 2003 17:47:20 -0000 Received: from unknown (HELO fw-maid.maidenhead.arm.com) (194.201.77.34) by 172.16.49.205 with SMTP; 21 Feb 2003 17:47:20 -0000 Received: by fw-maid.maidenhead.arm.com; id RAA10758; Fri, 21 Feb 2003 17:40:16 GMT Received: from unknown(192.168.2.10) by fw-maid.maidenhead.arm.com via smap (V5.0) id xma010751; Fri, 21 Feb 03 17:40:07 GMT Received: from mhpc6.arm.com (mhpc6 [192.168.2.53]) by mhsun1.maidenhead.arm.com (8.9.3/8.9.3) with ESMTP id RAA29804; Fri, 21 Feb 2003 17:47:09 GMT Message-Id: <4.3.2.7.2.20030221173257.02997f68@mhsun1.maidenhead.arm.com> X-Sender: kwalker@mhsun1.maidenhead.arm.com Date: Fri, 21 Feb 2003 17:47:00 -0000 To: Michal Ludvig , GDB Patches From: Keith Walker Subject: Re: [RFA] Location list support In-Reply-To: <3E560801.6080703@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2003-02/txt/msg00528.txt.bz2 Michal, >The structure symbol itself is filled up with the first loclist entry >found for this symbol (ie with the values for the lowest PC where the >symbol is valid). Just to point out that the DWARF2 specification does not require the entries in the location list to be specified in any specific order .... therefore you shouldn't assume that the first entry is for the lowest PC where the symbol is valid. Not related to your changes .... but I thought I would point out the following issue once variables can be described using location lists: A location list allows for overlapping address ranges, ie. Where a variables can be found in more that one place at a specific PC. Now for reading the variable's value this means that you can read from any of the specified locations. However if you allow writing of the variable's value then the write should be performed to all the locations where the variable can currently be found. Keith