This is the mail archive of the gdb-patches@sources.redhat.com 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 (gdb/mi)


> From: Nick Roberts <nick@nick.uklinux.net>
> Date: Sat, 1 Nov 2003 17:33:01 +0000
> 
>  > - doco
> 
> below

Approved, but please correct this small blunder:

>   @smallexample
> !  -var-list-children @var{name} [PRINT-VALUES]
>   @end smallexample

Since PRINT-VALUES stands for something else, you should use @var,
like this:

   @smallexample
 !  -var-list-children @var{name} [@var{print-values}]
   @end smallexample

> ! Returns a list of the children of the specified variable object.  With
> ! just the variable object name as an argument or with an optional
> ! second argument of 0, prints only the names of the variables.  With an
> ! optional second argument of 1, also prints their values.

If print-values can be only 0 or 1, perhaps it's better to say

  -var-list-children @var{name} [0|1]


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