Re: [RFA] Location list support

Keith Walker
2003-02-21T17:47:20Z

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