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] gdb: Introduce 'print max-depth' feature


> From: Andrew Burgess <andrew.burgess@embecosm.com>
> Cc: richard.bunt@arm.com,	Andrew Burgess <andrew.burgess@embecosm.com>
> Date: Wed, 27 Mar 2019 21:53:24 +0000
> 
> +* New commands
> +
> +set print max-depth
> +show print max-depth
> +  Allows deeply nested structures to be simplified when printing by
> +  replacing deeply nested parts (beyond the max-depth) with ellipses.
> +  The default max-depth is 20, but this can be set to unlimited to get
> +  the old behaviour back.

This part is OK, but please use "behavior", as our convention is to
use US English spelling.

> +@noindent
> +and with @code{set print max-depth unlimited} in effect @samp{p var}
> +would print

I think this and other similar sentences should begin with a capital
letter.

The documentation parts are okay with these nits fixed.

Thanks.


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