This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/code+NEWS] new "set/show serial baud" command
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Doug Evans <dje at google dot com>, Yurij Grechishhev <yurij dot grechishhev at gmail dot com>, gdb-patches <gdb-patches at sourceware dot org>
- Date: Wed, 09 Oct 2013 09:31:13 +0100
- Subject: Re: [RFA/code+NEWS] new "set/show serial baud" command
- Authentication-results: sourceware.org; auth=none
- References: <CAAyhtXRSWTdpDc4jiZ2k5zWCNUXUzRxNokN1F_aRdMfuWGsBHQ at mail dot gmail dot com> <87bo6affrh dot fsf at fleche dot redhat dot com> <524ECCBB dot 5050307 at gmail dot com> <CAAyhtXQBSOz8sjxSmqGRQNtXHeOJpszMEYhRGyBydBGr-GkZCw at mail dot gmail dot com> <20131008035636 dot GC3092 at adacore dot com> <5253F497 dot 6040709 at redhat dot com> <20131008141639 dot GF3092 at adacore dot com> <CADPb22QG-WspW7mcNcV96S5ebpiL9iMePs=OSudZP5MzLaqzkA at mail dot gmail dot com> <20131009035705 dot GI3092 at adacore dot com>
On 10/09/2013 04:57 AM, Joel Brobecker wrote:
>> + /* The commands "set/show serial baud" used to have a different name.
>> + Add aliases to those names to facilitate the transition. */
>> + add_alias_cmd ("remotebaud", "serial baud", no_class, 0, &setlist);
>> + add_alias_cmd ("remotebaud", "serial baud", no_class, 0, &showlist);
>>
>> Does the mark-as-deprecated machinery work here?
>
> It should. I just wasn't sure at the time I wrote the patch that
> we actually wanted to deprecate the commands. Since Tom proposed it
> as well, if there are no objection from others, I will do so, and
> update the NEWS entry accordingly (as well as add this entry for
> post 7.6 branch).
I also think the old ones should be marked deprecated.
--
Pedro Alves