This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] Doc 'dynamic' for command -var-list-children
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 19 Nov 2013 18:16:19 +0200
- Subject: Re: [PATCH 2/2] Doc 'dynamic' for command -var-list-children
- Authentication-results: sourceware.org; auth=none
- References: <1384860516-6949-1-git-send-email-yao at codesourcery dot com> <1384860516-6949-2-git-send-email-yao at codesourcery dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.