aboutsummaryrefslogtreecommitdiff
path: root/gdb/wince.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-17 15:00:36 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-17 15:00:36 +0000
commit26c41df326291cfe8211f195291a26b370de9523 (patch)
tree32bbe44e4881e36b2f70e54124afdc0e8cd03313 /gdb/wince.c
parent2c5b56ce999bb9327c42afc09ad015e850298573 (diff)
downloadgdb-26c41df326291cfe8211f195291a26b370de9523.zip
gdb-26c41df326291cfe8211f195291a26b370de9523.tar.gz
gdb-26c41df326291cfe8211f195291a26b370de9523.tar.bz2
2005-02-17 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd) (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) (add_setshow_filename_cmd, add_setshow_string_cmd) (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete fprint_setshow parameter. * command.h (fprint_setshow_ftype): Delete. (add_setshow_cmd_full, add_setshow_enum_cmd) (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) (add_setshow_filename_cmd, add_setshow_string_cmd) (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete fprint_setshow parameter. * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update. * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update. * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update. * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update * remote.c, target.c, cli/cli-logging.c: Update.
Diffstat (limited to 'gdb/wince.c')
-rw-r--r--gdb/wince.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/gdb/wince.c b/gdb/wince.c
index 8c9be07..3e46035 100644
--- a/gdb/wince.c
+++ b/gdb/wince.c
@@ -2020,22 +2020,22 @@ _initialize_wince (void)
struct cmd_list_element *set;
init_child_ops ();
- deprecated_add_show_from_set
- (add_set_cmd ((char *) "remotedirectory", no_class,
- var_string_noescape, (char *) &remote_directory,
- (char *) "Set directory for remote upload.\n",
- &setlist),
- &showlist);
+ add_setshow_string_noescape_cmd ("remotedirectory", no_class,
+ &remote_directory, _("\
+Set directory for remote upload."), _("\
+Show directory for remote upload."), NULL,
+ NULL, /* FIXME: i18n: */
+ NULL, NULL,
+ &setlist, &showlist);
remote_directory = xstrdup (remote_directory);
- set = add_set_cmd ((char *) "remoteupload", no_class,
- var_string_noescape, (char *) &remote_upload,
- (char *) "\
-Set how to upload executables to remote device.\n",
- &setlist);
-
- deprecated_add_show_from_set (set, &showlist);
- set_cmd_cfunc (set, set_upload_type);
+ add_setshow_string_noescape_cmd ("remoteupload", no_class,
+ &remote_upload, _("\
+Set how to upload executables to remote device."), _("\
+Show how to upload executables to remote device."), NULL,
+ NULL, /* FIXME: i18n: */
+ set_upload_type, NULL,
+ &setlist, &showlist);
set_upload_type (NULL, 0);
deprecated_add_show_from_set