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 (was: "Re: Setting parity for remote serial")
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Doug Evans <dje at google dot com>
- Cc: Pedro Alves <palves at redhat dot com>, Yurij Grechishhev <yurij dot grechishhev at gmail dot com>, gdb-patches <gdb-patches at sourceware dot org>
- Date: Wed, 9 Oct 2013 07:57:05 +0400
- Subject: Re: [RFA/code+NEWS] new "set/show serial baud" command (was: "Re: Setting parity for remote serial")
- 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>
> + /* 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).
--
Joel