--- Begin Message ---
- From: Mo DeJong <supermo at bayarea dot net>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 12 Jul 2002 15:29:24 -0700
- Subject: Patch to improve var-evaluate-expression doc
- Organization: House of Mirth
This issue was discussed on the gdb list:
http://sources.redhat.com/ml/gdb/2002-07/msg00112.html
2002-07-12 Mo DeJong <supermo@bayarea.net>
* gdbmi.texinfo (var-evaluate-expression): Note that
var-list-children must be invoked before child variable
values can be evaluated.
Index: gdbmi.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/mi/gdbmi.texinfo,v
retrieving revision 1.26
diff -u -r1.26 gdbmi.texinfo
--- gdbmi.texinfo 25 Feb 2002 02:13:09 -0000 1.26
+++ gdbmi.texinfo 12 Jul 2002 22:21:28 -0000
@@ -3784,6 +3784,9 @@
value=@var{value}
@end example
+Note that one must invoke @code{-var-list-children} for a variable
+before the value of a child variable can be evaluated.
+
@subheading The @code{-var-assign} Command
@findex -var-assign
--- End Message ---