aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-11-19 19:11:21 +0800
committerYao Qi <yao@codesourcery.com>2013-11-21 11:41:55 +0800
commitc78feb398f06b959c2b0533837244f27cd81ac6d (patch)
treea165df47cf94cd47bcb9787a4e2941aa7f05f697
parent27b81af3ea740c4fc562b19916f70d251d8fe300 (diff)
downloadgdb-c78feb398f06b959c2b0533837244f27cd81ac6d.zip
gdb-c78feb398f06b959c2b0533837244f27cd81ac6d.tar.gz
gdb-c78feb398f06b959c2b0533837244f27cd81ac6d.tar.bz2
Doc 'dynamic' for command -var-list-children
Hi, I find "dynamic=1" appear in the result of each child of the output of -var-list-children, -var-list-children ss1 ^done,numchild="2",children=[child={name="ss1.a",exp="a",numchild="0",type="struct s",thread-id="1",dynamic="1"},child={name="ss1.b",exp="b",numchild="0",type="struct s",thread-id="1",dynamic="1"}],has_more="0" but the doc doesn't mention this. This patch is to copy the description of "dynamic=1" here. gdb/doc: 2013-11-21 Yao Qi <yao@codesourcery.com> * gdb.texinfo (GDB/MI Variable Objects): Add attribute 'dynamic' for the output of command -var-list-children.
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 87df810..5a906ca 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,10 @@
2013-11-21 Yao Qi <yao@codesourcery.com>
+ * gdb.texinfo (GDB/MI Variable Objects): Add attribute
+ 'dynamic' for the output of command -var-list-children.
+
+2013-11-21 Yao Qi <yao@codesourcery.com>
+
* gdb.texinfo (Caching Target Data): Remove "see" before
@pxref.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index d1fa6c8..ec9d901 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -32519,6 +32519,12 @@ Otherwise this result is not present.
@item frozen
If the variable object is frozen, this variable will be present with a value of 1.
+
+@item dynamic
+This attribute will be present and have the value @samp{1} if the
+varobj is a dynamic varobj. If the varobj is not a dynamic varobj,
+then this attribute will not be present.
+
@end table
The result may have its own attributes: