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: [rfa] clean up output of "info set" command.


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


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