2005-05-22 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / remote-utils.c
index ebac95a95dda03797fa563454a720d1789df4afa..b68ef80e247014ff80676978300724eb10c92b9a 100644 (file)
@@ -595,16 +595,16 @@ gr_prepare_to_store (void)
 void
 _initialize_sr_support (void)
 {
-/* FIXME-now: if target is open... */
-  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);
-
-  add_com ("remote <command>", class_obscure, sr_com,
+  /* FIXME-now: if target is open... */
+  add_setshow_filename_cmd ("remotedevice", no_class, &sr_settings.device, _("\
+Set device for remote serial I/O."), _("\
+Show device for remote serial I/O."), _("\
+This device is used as the serial port when debugging using remote targets."),
+                           NULL,
+                           NULL, /* FIXME: i18n: */
+                           &setlist, &showlist);
+
+  add_com ("remote", class_obscure, sr_com,
           _("Send a command to the remote monitor."));
 
 }
This page took 0.025554 seconds and 4 git commands to generate.