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] Record nested types


> From: Keith Seitz <keiths@redhat.com>
> Date: Fri, 20 Oct 2017 11:26:48 -0700
> 
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -94,6 +94,10 @@ maint info selftests
>  starti
>    Start the debugged program stopping at the first instruction.
>  
> +set|show print type nested-type-limit
> +  Set and show the number of recursively defined nested types that the
> +  type printer will show.

Not sure why you used "recursive" here, I think it just makes the
intent more mysterious.  How about this wording instead:

  Set and show the limit of the nesting level for nested types that
  the type printer will show.

> +@kindex set print type nested-type-limit
> +@item set print type nested-type-limit @var{limit}
> +Set the recursive display limit of nested types that the type printer will
> +show.  A @var{limit} of -1 is treated as unlimited.  By default, the type
> +printer will not show any nested types defined in classes.

Same here.

Thanks.


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