2005-02-18 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / exec.c
index 4c55d82f9f3d55cfbd75ac514c98c511e1a9eddc..e8e5f3be0094fd0b776a1d6b80303eda6f4e3ebf 100644 (file)
@@ -742,11 +742,12 @@ This can be used if the exec file does not contain section addresses,\n\
 file itself are wrong.  Each section must be changed separately.  The\n\
 ``info files'' command lists all the sections and their addresses."));
 
-  deprecated_add_show_from_set
-    (add_set_cmd ("write", class_support, var_boolean, (char *) &write_files,
-                 "Set writing into executable and core files.",
-                 &setlist),
-     &showlist);
+  add_setshow_boolean_cmd ("write", class_support, &write_files, _("\
+Set writing into executable and core files."), _("\
+Show writing into executable and core files."), NULL,
+                          NULL,
+                          NULL, /* FIXME: i18n: */
+                          &setlist, &showlist);
 
   add_target (&exec_ops);
 }
This page took 0.024544 seconds and 4 git commands to generate.