This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: interface to partial support for DW_OP_piece in dwarf2expr.[ch]
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, and it's not relevant for Jim's request - focusing on the
dwarf2expr interface. dwarf2loc, which deals with the lists of
locations, will need to be aware of this; but a single location
expression only has one location.
--
Daniel Jacobowitz