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.
This commit is contained in:
parent
6632e8ccec
commit
9df9dbe031
2 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue