This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] gdb: Rework command completion on 'tui reg'.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>
- Cc: gdb-patches at sourceware dot org, palves at redhat dot com
- Date: Tue, 02 Jun 2015 18:00:49 +0300
- Subject: Re: [PATCH 2/2] gdb: Rework command completion on 'tui reg'.
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1432246159 dot git dot andrew dot burgess at embecosm dot com> <58e17eaffc56924038a839aa42e00a96dc1832b5 dot 1432246159 dot git dot andrew dot burgess at embecosm dot com> <55607DF7 dot 8040601 at redhat dot com> <20150602101111 dot GO17330 at embecosm dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Tue, 2 Jun 2015 11:11:11 +0100
> From: Andrew Burgess <andrew.burgess@embecosm.com>
> Cc: Pedro Alves <palves@redhat.com>
>
> Thanks for the review. I've reworked the patch to address all the
> issues raised. Here's the new version.
Thanks.
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -52,6 +52,9 @@
>
> * GDB now supports the vector ABI on S/390 GNU/Linux targets.
>
> +* The "tui reg" command now provides completion for all of the
> + available register groups, including target specific groups.
This part is OK.
> +Changes the register group displayed in the tui register window to
> +@var{group}. If the register window is not currently displayed this
> +command will cause the register window to be displayed. The list of
> +register groups, as well as their order is target specific. The
> +following groups are avaiable on most targets: ^^
Two spaces between sentences, please.
> +@table @code
> +@item next
> +Repeatedly selecting this group will cause the display to cycle
> +through all of the available register groups.
> +
> +@item prev
> +Repeatedly selecting this group will cause the display to cycle
> +through all of the available register groups in the reverse order to
> +@var{next}.
> +
> +@item general
> +Display the general registers.
> +@item float
> +Display the floating point registers.
> +@item system
> +Display the system registers.
> +@item vector
> +Display the vector registers.
> +@item all
> +Display all registers.
> +@end table
Please keep one empty line before each @item, for consistency.
The documentation part is OK with those fixed.