This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [rfc] Annotation level THREE
- From: Nick Roberts <nick at nick dot uklinux dot net>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 27 Mar 2003 20:35:32 +0000
- Subject: Re: [rfc] Annotation level THREE
- References: <3E6E7326.3020906@redhat.com><15985.7336.23998.590592@nick.uklinux.net><3E751565.4030409@redhat.com><15990.10811.61395.996906@nick.uklinux.net><3E763228.9060104@redhat.com><15990.62618.114706.459904@nick.uklinux.net><3E773B59.90403@redhat.com>
> ...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