Re: Ping: frozen variable objects

Nick Roberts
2007-04-14T23:18:34Z

> + if (varobj_get_frozen (var))
> + ui_out_field_int (uiout, "frozen", 1);

So the frozen value is implicitly 0 if the field is not printed? More
importantly, I don't see how the front end can find out if a simple variable
object (not a child) is frozen or not. You could say that the front end
should keep track of this, but this would also be an argument against having
a frozen field at all.

--
Nick http://www.inet.net.nz/~nickrob

int m[10];

(gdb)
-var-create - * m
^done,name="var1",numchild="10",value="[10]",type="int [10]"
(gdb)
-var-set-frozen var1 1

How can I see that var1 is frozen?

Another (related) doc thought:

`-var-set-frozen' set frozeness attribute

This suggests that -var-show-attributes will display frozenness.