* as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
[deliverable/binutils-gdb.git] / gdb / ocd.c
index c46ec0c0bf1c85a451f5e1f48cf8e4911f7a20e7..43fe35fc0bbb22a4029bb58cf6c85021e790fb92 100644 (file)
--- a/gdb/ocd.c
+++ b/gdb/ocd.c
@@ -1156,11 +1156,12 @@ _initialize_remote_ocd (void)
   extern struct cmd_list_element *cmdlist;
   static struct cmd_list_element *ocd_cmd_list = NULL;
 
-  deprecated_add_show_from_set
-    (add_set_cmd ("remotetimeout", no_class,
-                 var_integer, (char *) &remote_timeout,
-                 "Set timeout value for remote read.\n", &setlist),
-     &showlist);
+  add_setshow_integer_cmd ("remotetimeout", no_class, &remote_timeout, _("\
+Set timeout value for remote read."), _("\
+Show timeout value for remote read."), NULL,
+                          NULL,
+                          NULL, /* FIXME: i18n: */
+                          &setlist, &showlist);
 
   /* FIXME: i18n: What documentation?  */
   add_prefix_cmd ("ocd", class_obscure, bdm_command, (""), &ocd_cmd_list,
This page took 0.024575 seconds and 4 git commands to generate.