This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [MI] lvalues and variable_editable
I mean:
> > I'm still a bit confused but I think this is because I read "lvalue"
> > and think of the C language meaning. An lvalue is something which can
> > occur on the left hand side of an assignment. So it can happen for
> > children too, for instance.
>
> AFAIK lvalue isn't a language specific context. Here's how to specify an
^^^^^^^ ^^
concept
> lvalue for a root variable:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
a root variable that's _not_ an lvalue:
>
> -var-create - * "i1 + i2"
>
> Can you give an example of how you would specify an lvalue for children?
^^^^^^^^^^^^^^^^^^^^^^
children that _aren't_ lvalues?
--
Nick http://www.inet.net.nz/~nickrob