This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 7/7] gdb: Extend help text for 'list' command.
- 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: Thu, 10 Dec 2015 18:24:13 +0200
- Subject: Re: [PATCH 7/7] gdb: Extend help text for 'list' command.
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1448411121 dot git dot andrew dot burgess at embecosm dot com> <fa223534db62cd3498cad0998da452207a61bbe0 dot 1448411122 dot git dot andrew dot burgess at embecosm dot com> <5656FD51 dot 10804 at redhat dot com> <20151210100755 dot GA11555 at embecosm dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 10 Dec 2015 10:07:55 +0000
> From: Andrew Burgess <andrew.burgess@embecosm.com>
> Cc: Pedro Alves <palves@redhat.com>
>
> * Pedro Alves <palves@redhat.com> [2015-11-26 12:38:41 +0000]:
>
> > LGTM, but probably Eli should take a look.
>
> Eli, any feedback?
Some, see below.
> @@ -1901,7 +1901,11 @@ Lines can be specified in these ways:\n\
> FILE:FUNCTION, to distinguish among like-named static functions.\n\
> *ADDRESS, to list around the line containing that address.\n\
> With two args if one is empty it stands for ten lines away from \
> -the other arg."));
> +the other arg.\n\
> +\n\
> +By default when a single location is given list displays ten lines,\n\
> +this can be changed using \"set listsize\", and the current value\n\
> +shown by using \"show listsize\"."));
Some commas are missing here, which makes this difficult to read.
Suggest to fix as follows:
With two args, if one is empty, it stands for ten lines away from
the other arg.
By default, when a single location is given, display ten lines.
This can be changed using "set listsize", and the current value
can be shown using "show listsize".
Thanks.