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] gdb: Rewrite documentation for layout and focus commands.


> From: Andrew Burgess <andrew.burgess@embecosm.com>
> Cc: Andrew Burgess <andrew.burgess@embecosm.com>
> Date: Mon,  6 Jul 2015 14:15:39 +0100
> 
> The following patch changes the documentation for the layout and focus
> commands.  Though I have extended the documentation for layout
> slightly most of this patch is really about reformatting the layout of
> the documentation.
> 
> The change is really just my personal preference, but I think the new
> layout is clearer, do people agree?

This is fine with me, but please be consistent in your style.  For
example:

> +@item regs
> +When in @code{src} or @code{asm} layout the register window is
> +displayed in addition to the existing source or assembler window.
> +When in @code{split} layout then the register and assembler windows
> +are displayed.  The command window is always displayed.

This uses passive tense "is displayed", whereas all the rest use
"Display", which is shorter and more in line with how we describe
settings.

> +@item focus @var{name}
>  @kindex focus
> +Changes which TUI window is currently active for scrolling.  The value
> +of @var{name} can be any of the following:

"The value of @var{name}" sounds strange.  I suggest The @var{name}
parameter can be any of ...".

OK with those changes.

Thanks.


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