aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-05-19 11:46:19 -0700
committerJoel Brobecker <brobecker@adacore.com>2014-05-28 12:58:59 -0700
commit7f3c034326ce5d487e897826a12c3a4b9d457b49 (patch)
treec75f9065e6ca4ed40e070a1caaa80d92005b77a5 /gdb/serial.c
parent77ac17b8453f60adabaa8931930e2bbe0499757d (diff)
downloadgdb-7f3c034326ce5d487e897826a12c3a4b9d457b49.zip
gdb-7f3c034326ce5d487e897826a12c3a4b9d457b49.tar.gz
gdb-7f3c034326ce5d487e897826a12c3a4b9d457b49.tar.bz2
Remove "set/show remotebaud" (deprecated) commands.
This patch removes support for the "set/show remotebaud" command, which were deprecated in GDB 7.7, and should be now be removed ahead of cutting the GDB 7.8 branch. gdb/ChangeLog: * serial.c (_initialize_serial): Remove support for the "set remotebaud" and "show remotebaud" commands. * NEWS: Add entry documenting the removal of that command. gdb/testsuite/ChangeLog: * config/monitor.exp (gdb_target_monitor): Replace use of "set remotebaud" by "set serial baud".
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index 7471a6b..e780bbe 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -671,34 +671,6 @@ using remote targets."),
serial_baud_show_cmd,
&serial_set_cmdlist, &serial_show_cmdlist);
- /* The commands "set/show serial baud" used to have a different name.
- Add aliases to those names to facilitate the transition, and mark
- them as deprecated, in order to make users aware of the fact that
- the command names have been changed. */
- {
- const char *cmd_name;
- struct cmd_list_element *cmd;
-
- /* FIXME: There is a limitation in the deprecation mechanism,
- and the warning ends up not being displayed for prefixed
- aliases. So use a real command instead of an alias. */
- add_setshow_zinteger_cmd ("remotebaud", class_alias, &baud_rate, _("\
-Set baud rate for remote serial I/O."), _("\
-Show baud rate for remote serial I/O."), _("\
-This value is used to set the speed of the serial port when debugging\n\
-using remote targets."),
- NULL,
- serial_baud_show_cmd,
- &setlist, &showlist);
- cmd_name = "remotebaud";
- cmd = lookup_cmd (&cmd_name, setlist, "", -1, 1);
- deprecate_cmd (cmd, "set serial baud");
- cmd_name
- = "remotebaud"; /* needed because lookup_cmd updates the pointer */
- cmd = lookup_cmd (&cmd_name, showlist, "", -1, 1);
- deprecate_cmd (cmd, "show serial baud");
- }
-
add_setshow_filename_cmd ("remotelogfile", no_class, &serial_logfile, _("\
Set filename for remote session recording."), _("\
Show filename for remote session recording."), _("\