Re: interface to partial support for DW_OP_piece in dwarf2expr.[ch]

Andrew Cagney
2004-08-05T20:50:10Z

> On Thu, Aug 05, 2004 at 03:55:50PM -0400, Andrew Cagney wrote:
>
>>>> >On Thu, Aug 05, 2004 at 01:42:25PM -0500, Jim Blandy wrote:
>>>> >
>>>
>>>>>> >>>
>>>>>> >>>Without stopping discussion of the best way to handle scattered values
>>>>>> >>>in core GDB, I'd still like to hear comments on my suggested change to
>>>>>> >>>dwarf2expr.[ch]'s interface, if there are any.
>>>>>> >>>
>>>>>> >>>Because dwarf2expr is supposed to be concerned with evaluating Dwarf
>>>>>> >>>expressions, and *avoid* building GDB data structures directly, I
>>>>>> >>>think that change can be assessed separately from the larger (and
>>>>>> >>>harder, and more important) question.
>>>
>>>> >
>>>> >
>>>> >I think it's fine. You spelled "yield" wrong.
>>
>>>
>>> Did this get answered?
>>
>>>> >- a single value can have multiple locations (important for store)
>
>
> No.

I was worried I'd missed something.

> dwarf2loc, which deals with the lists of
> locations, will need to be aware of this; but a single location
> expression only has one location.

ah, thank you.

Andrew