From: Yao Qi Date: Tue, 19 Nov 2013 11:00:38 +0000 (+0800) Subject: Update doc on displayhint in command -var-list-children X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9df9dbe031e8f643651f638823eed773a4037af7;p=binutils-gdb.git 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 * gdb.texinfo (GDB/MI Variable Objects): Add the description of "displayhint" to the table about child results. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 5a906ca5126..92c4a7684f1 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-23 Yao Qi + + * gdb.texinfo (GDB/MI Variable Objects): Add the description + of "displayhint" to the table about child results. + 2013-11-21 Yao Qi * gdb.texinfo (GDB/MI Variable Objects): Add attribute diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index ec9d9017007..378f9e941a5 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,