2006-10-08 Paul Brook <paul@codesourcery.com>
[binutils-gdb.git] / gdb / remote-utils.c
index d4775ad631e0016819503e920ee17c9638e161e3..028216f71325c0c54303a58baf74010b65326bc9 100644 (file)
@@ -1,6 +1,6 @@
 /* Generic support for remote debugging interfaces.
 
-   Copyright 1993, 1994, 1995, 1996, 1998, 2000, 2001
+   Copyright (C) 1993, 1994, 1995, 1996, 1998, 2000, 2001
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -17,8 +17,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor,
+   Boston, MA 02110-1301, USA.  */
 
 /*  This file actually contains two distinct logical "packages".  They
    are packaged together in this one file because they are typically
@@ -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,
-          "Send a command to the remote monitor.");
+  /* 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."));
 
 }