aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-09-27 18:09:27 +0000
committerAndrew Cagney <cagney@redhat.com>2002-09-27 18:09:27 +0000
commit7501537f4e998c5197e8435fa96901a3645a0dbe (patch)
treeccbf1c2d5d99cd060d01684bcb330335407f5691
parent050be0dcbe5e067af541c9478661e949af83a61e (diff)
downloadgdb-7501537f4e998c5197e8435fa96901a3645a0dbe.zip
gdb-7501537f4e998c5197e8435fa96901a3645a0dbe.tar.gz
gdb-7501537f4e998c5197e8435fa96901a3645a0dbe.tar.bz2
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.
-rw-r--r--gdb/mi/ChangeLog7
-rw-r--r--gdb/mi/gdbmi.texinfo3
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index 5e844e6..86bec4a 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -1,3 +1,10 @@
+2002-09-27 Andrew Cagney <ac131313@redhat.com>
+
+ From 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.
+
2002-09-26 Elena Zannoni <ezannoni@redhat.com>
* mi-cmd-disas.c (dump_insns): Add text only output for CLI.
diff --git a/gdb/mi/gdbmi.texinfo b/gdb/mi/gdbmi.texinfo
index a71b702..6145dcf 100644
--- a/gdb/mi/gdbmi.texinfo
+++ b/gdb/mi/gdbmi.texinfo
@@ -3786,6 +3786,9 @@ for the object:
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