[Dwarf-discuss] RE: Issue 050222.1

Daniel Berlin dberlin
Wed May 25 13:32:25 PDT 2005

On Wed, 2005-05-25 at 12:23 -0500, Jim Blandy wrote:
> Jim Blandy <jimb at redhat.com> writes:
> > To allow debuggers to recover the values of such variables, you'd
> > still want the ability to say "in this address range, here's how to do
> > it."  Perhaps the variable could have a DW_AT_value_expression
> > attribute, whose value would be a Dwarf expression (or a location
> > list of Dwarf expressions) computing the *value* of the variable, and
> > not its address (since it might not have one).
> Well, except that Dwarf expressions only compute address-sized things,
> not arbitrary language values.  Rats.

This is true of "dwarf location expressions", but you could probably
pretty easily define a "dwarf value expressions" superset that didn't
have restriction (technically, it would probably have made more sense to
make value expressions the base for location expresions, since location
expressions have more restrictions, but a little late for hat now :P)

More information about the Dwarf-Discuss mailing list