This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Annotation level THREE


 > ...Further, unless your using some sort of changes-only 
 > mechanism, such as provided by the varobj, the display windows are just 
 > not going to scale.

If I change the value of a simple data type then I can see it in the
changelist. However, when I change an array value or that of a structure I
don't.

e.g

-var-create - * i
^done,name="var1",numchild="0",type="int"
(gdb) 
-var-create - * r
^done,name="var2",numchild="10",type="double [10]"
(gdb) 
set var i=3
&"set var i=3\n"
^done
(gdb) 
-var-update *
^done,changelist=[{name="var1",in_scope="true",type_changed="false"}]
(gdb) 
set var r[3]=6
&"set var r[3]=6\n"
^done
(gdb) 
-var-update *
^done,changelist=[]
(gdb) 

Is there a way round this?

Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]