This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] Doc 'dynamic' for command -var-list-children


> From: Yao Qi <yao@codesourcery.com>
> Date: Tue, 19 Nov 2013 19:28:36 +0800
> 
> 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.

The patch is OK, but I wonder why we use "1" and not something like
"true" or "yes".

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]