This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: eliminate deprecated_add_set_cmd
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Eli Zaretskii <eliz at gnu dot org>, ams at gnu dot org, Thomas Schwinge <tschwinge at gnu dot org>
- Date: Wed, 31 Dec 2008 08:09:58 +0400
- Subject: Re: eliminate deprecated_add_set_cmd
- References: <200812310114.45103.pedro@codesourcery.com>
My 2 cents:
For these particular commands, I think it's fine to change their name.
I suspect only a few people would use them, and they won't have much
trouble finding the new command (or asking here if not).
I would prefer the set and show commands to be consistent, but that's
only a very mild preference based purely on aesthetics.
> E.g., say, for the x86 debug registers debug output,
>
> maint show-debug-regs -> maint set show-debug-regs on|off
> maint show show-debug-regs
I like this one better.
> maint gnu-debug -> set debug gnu (, gnu-nat, gnu-hurd, gnu-whatever, ...)
> show debug gnu
I like this one better.
--
Joel