diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-18 15:25:32 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-18 15:25:32 +0000 |
commit | 5bf193a2eedab2cf1437c762fee2cfc8249753a0 (patch) | |
tree | a209cafbc0683a5e13b2a911bd3c423fd103719f /gdb/wince.c | |
parent | ac40b91956761ebc182da98f5c3cdae13c6f8696 (diff) | |
download | gdb-5bf193a2eedab2cf1437c762fee2cfc8249753a0.zip gdb-5bf193a2eedab2cf1437c762fee2cfc8249753a0.tar.gz gdb-5bf193a2eedab2cf1437c762fee2cfc8249753a0.tar.bz2 |
2005-02-18 Andrew Cagney <cagney@gnu.org>
Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
code adding set/show boolean commands.
* cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
* monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
* proc-api.c, remote-mips.c, remote.c, solib.c: Update.
* somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
* valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
* cli/cli-cmds.c: Update.
Diffstat (limited to 'gdb/wince.c')
-rw-r--r-- | gdb/wince.c | 81 |
1 files changed, 37 insertions, 44 deletions
diff --git a/gdb/wince.c b/gdb/wince.c index 3e46035..14f28e4 100644 --- a/gdb/wince.c +++ b/gdb/wince.c @@ -2038,51 +2038,44 @@ Show how to upload executables to remote device."), NULL, &setlist, &showlist); set_upload_type (NULL, 0); - deprecated_add_show_from_set - (add_set_cmd ((char *) "debugexec", - class_support, var_boolean, - (char *) &debug_exec, - (char *) "\ -Set whether to display execution in child process.", - &setlist), - &showlist); - - deprecated_add_show_from_set - (add_set_cmd ((char *) "remoteaddhost", - class_support, var_boolean, - (char *) &remote_add_host, - (char *) "\ + add_setshow_boolean_cmd ("debugexec", class_support, &debug_exec, _("\ +Set whether to display execution in child process."), _("\ +Show whether to display execution in child process."), NULL, + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); + + add_setshow_boolean_cmd ("remoteaddhost", class_support, + &remote_add_host, _("\ Set whether to add this host to remote stub arguments for\n\ -debugging over a network.", - &setlist), - &showlist); - - deprecated_add_show_from_set - (add_set_cmd ((char *) "debugevents", - class_support, var_boolean, - (char *) &debug_events, - (char *) "\ -Set whether to display kernel events in child process.", - &setlist), - &showlist); - - deprecated_add_show_from_set - (add_set_cmd ((char *) "debugmemory", - class_support, var_boolean, - (char *) &debug_memory, - (char *) "\ -Set whether to display memory accesses in child process.", - &setlist), - &showlist); - - deprecated_add_show_from_set - (add_set_cmd ((char *) "debugexceptions", - class_support, var_boolean, - (char *) &debug_exceptions, - (char *) "\ -Set whether to display kernel exceptions in child process.", - &setlist), - &showlist); +debugging over a network."), _("\ +Show whether to add this host to remote stub arguments for\n\ +debugging over a network."), NULL, + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); + + add_setshow_boolean_cmd ("debugevents", class_support, &debug_events, _("\ +Set whether to display kernel events in child process."), _("\ +Show whether to display kernel events in child process."), NULL, + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); + + add_setshow_boolean_cmd ("debugmemory", class_support, &debug_memory, _("\ +Set whether to display memory accesses in child process."), _("\ +Show whether to display memory accesses in child process."), NULL, + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); + + add_setshow_boolean_cmd ("debugexceptions", class_support, + &debug_exceptions, _("\ +Set whether to display kernel exceptions in child process."), _("\ +Show whether to display kernel exceptions in child process."), NULL, + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); add_target (&deprecated_child_ops); } |