This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Location list support
- From: Keith Walker <keith dot walker at arm dot com>
- To: Michal Ludvig <mludvig at suse dot cz>, GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: Fri, 21 Feb 2003 17:47:09 +0000
- Subject: Re: [RFA] Location list support
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