This is the mail archive of the
mailing list for the GDB project.
Re: [RFA] Document fixed/floating variable objects and thread-id.
> From: Vladimir Prus <email@example.com>
> Date: Wed, 09 Apr 2008 15:59:14 +0400
> >> +fixed variable object, the expression is parsed when the variable
> >> +object is created, including associating indentifiers to specific
> >> +variables. The meaning of expression never changes. A floating
> >> +variable object has its expression reparsed each time the variable
> >> +object is updated. In particular, the meaning of identifiers can
> >> +change every time.
> > Instead of ``meaning'' here, isn't it better to say ``value''?
> Identifier does not have a value. Think of 'i' -- it's just a name.
> It is then associated to a specific variable, which variable has value.
> What I mean is that association between identifiers to variables can
> change for floating variable objects. Of course, the values can also
> change, but values can change even for fixed variable objects.
> What's the best way to express this?
I don't know yet: what is an ``identifier'' in this context? You
don't mean symbols in the source language of the program being
debugged, as in your example with `i', do you?