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: eliminate deprecated_add_set_cmd


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


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