This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Location list support


On Fri, Feb 21, 2003 at 05:47:09PM +0000, Keith Walker wrote:
> 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.

Thanks.  This'll probably be a FIXME for now... we're not quite set up
for multiple locations.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]