[PATCH 2/2] gdb/python: improve formatting of help text for user defined commands
Eli Zaretskii
eliz@gnu.org
Tue May 17 12:19:21 GMT 2022
> Date: Tue, 17 May 2022 11:51:45 +0100
> From: Andrew Burgess via Gdb-patches <gdb-patches@sourceware.org>
> Cc: Andrew Burgess <aburgess@redhat.com>
>
> +* Python API
> +
> + ** GDB will now reformat the doc string for gdb.Command and
> + gdb.Parameter sub-classes to remove unnecessary whitespace before
> + using the string as the help output.
AFAIU, the feature doesn't remove "unnecessary whitespace", it removes
"unnecessary indentation", or if you want to be more accurate "removes
unnecessary leading whitespace from each line".
Thanks.
More information about the Gdb-patches
mailing list