diff options
author | Yao Qi <yao@codesourcery.com> | 2013-11-19 19:00:38 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-11-23 20:33:11 +0800 |
commit | 9df9dbe031e8f643651f638823eed773a4037af7 (patch) | |
tree | 6228d02fa6b677ef55f74016863fd1031ba141c8 /gdb | |
parent | 6632e8ccecd8fe5de18ad78ced1c14755a24b169 (diff) | |
download | gdb-9df9dbe031e8f643651f638823eed773a4037af7.zip gdb-9df9dbe031e8f643651f638823eed773a4037af7.tar.gz gdb-9df9dbe031e8f643651f638823eed773a4037af7.tar.bz2 |
Update doc on displayhint in command -var-list-children
Hi,
When using command -var-list-children, "displayhint" appears in the result of
each child, shown as the following output.
-var-list-children ss1 ^M
^done,numchild="2",displayhint="pp_ss",children=[child={name="ss1.a",exp="a",numchild="0",type="struct s",thread-id="1",displayhint="pp_s",dynamic="1"},child={name="ss1.b",exp="b",numchild="0",type="struct s",thread-id="1",displayhint="pp_s",dynamic="1"}],has_more="0"
Current doc on command -var-list-children doesn't reflect this. This
patch is to fix it.
gdb/doc:
2013-11-23 Yao Qi <yao@codesourcery.com>
* gdb.texinfo (GDB/MI Variable Objects): Add the description
of "displayhint" to the table about child results.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 5a906ca..92c4a76 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-23 Yao Qi <yao@codesourcery.com> + + * gdb.texinfo (GDB/MI Variable Objects): Add the description + of "displayhint" to the table about child results. + 2013-11-21 Yao Qi <yao@codesourcery.com> * gdb.texinfo (GDB/MI Variable Objects): Add attribute diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index ec9d901..378f9e9 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -32520,6 +32520,11 @@ 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 displayhint +A dynamic varobj can supply a display hint to the front end. The +value comes directly from the Python pretty-printer object's +@code{display_hint} method. @xref{Pretty Printing API}. + @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, |