This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfa] clean up output of "info set" command.
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Michael Snyder <msnyder at vmware dot com>
- Date: Fri, 11 Feb 2011 20:42:44 +0000
- Subject: Re: [rfa] clean up output of "info set" command.
- References: <4D5599E8.6030408@vmware.com>
On Friday 11 February 2011 20:19:52, Michael Snyder wrote:
> "info set" is meant to show the state of all "set"-able
> debugger state variables, but it really executes each and
> every "show" command in alphabetical order.
>
> Several of these commands (notably "copying" and "warranty")
> have no corresponding "set" command, are not "set"-able, and
> produce a lot of output. Especially "show copying" which
> produces pages and pages of output.
Isn't there a property of the command we could check
instead of hardcoding specific command names?
>
> This patch excludes "copying", "warranty", and "version" from
> the output of "info set'.
--
Pedro Alves