aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-03-28 21:31:46 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-03-28 21:31:46 +0000
commit7191c1399c5435c5b08be03c76ad4299371fc516 (patch)
tree24fbb6065ef55979010a447423cdeb1f40ae0f8b /gdb
parentd32cafc7d5388a56e7e1bb832891e4dd8f2535ae (diff)
downloadgdb-7191c1399c5435c5b08be03c76ad4299371fc516.zip
gdb-7191c1399c5435c5b08be03c76ad4299371fc516.tar.gz
gdb-7191c1399c5435c5b08be03c76ad4299371fc516.tar.bz2
[doco] document the "type_changed" flag further.
gdb/doc/ChangeLog: * gdb.texinfo (GDB/MI Variable Objects): Document what happens to the children of a varobj and its update range when -var-update returns that the varobj's type changed.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 2a4238b..885b46b 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-28 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.texinfo (GDB/MI Variable Objects): Document what happens
+ to the children of a varobj and its update range when -var-update
+ returns that the varobj's type changed.
+
2012-03-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.texinfo (Auto-loading): Move @menu to the end of @node.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index aa8bc7c..8002429 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -29382,6 +29382,12 @@ This is only present if the varobj is still valid. If the type
changed, then this will be the string @samp{true}; otherwise it will
be @samp{false}.
+When a varobj's type changes, its children are also likely to have
+become incorrect. Therefore, the varobj's children are automatically
+deleted when this attribute is @samp{true}. Also, the varobj's update
+range, when set using the @code{-var-set-update-range} command, is
+unset.
+
@item new_type
If the varobj's type changed, then this field will be present and will
hold the new type.