summaryrefslogtreecommitdiff
path: root/gdb/remote-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-utils.c')
-rw-r--r--gdb/remote-utils.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/remote-utils.c b/gdb/remote-utils.c
index ba150e34d5d..2f3032c7e0d 100644
--- a/gdb/remote-utils.c
+++ b/gdb/remote-utils.c
@@ -596,12 +596,13 @@ void
_initialize_sr_support (void)
{
/* FIXME-now: if target is open... */
- add_show_from_set (add_set_cmd ("remotedevice", no_class,
- var_filename, (char *) &sr_settings.device,
- "Set device for remote serial I/O.\n\
+ deprecated_add_show_from_set
+ (add_set_cmd ("remotedevice", no_class,
+ var_filename, (char *) &sr_settings.device,
+ "Set device for remote serial I/O.\n\
This device is used as the serial port when debugging using remote\n\
targets.", &setlist),
- &showlist);
+ &showlist);
add_com ("remote <command>", class_obscure, sr_com,
"Send a command to the remote monitor.");