aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-18 15:25:32 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-18 15:25:32 +0000
commit5bf193a2eedab2cf1437c762fee2cfc8249753a0 (patch)
treea209cafbc0683a5e13b2a911bd3c423fd103719f /gdb/remote-mips.c
parentac40b91956761ebc182da98f5c3cdae13c6f8696 (diff)
downloadgdb-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/remote-mips.c')
-rw-r--r--gdb/remote-mips.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c
index cf81cf3..9b0e957 100644
--- a/gdb/remote-mips.c
+++ b/gdb/remote-mips.c
@@ -3415,11 +3415,11 @@ ignored.)",
add_com ("pmon <command>", class_obscure, pmon_command,
_("Send a packet to PMON (must be in debug mode)."));
- deprecated_add_show_from_set
- (add_set_cmd ("mask-address", no_class,
- var_boolean, &mask_address_p, "\
-Set zeroing of upper 32 bits of 64-bit addresses when talking to PMON targets.\n\
-Use \"on\" to enable the masking and \"off\" to disable it.\n",
- &setlist),
- &showlist);
+ add_setshow_boolean_cmd ("mask-address", no_class, &mask_address_p, _("\
+Set zeroing of upper 32 bits of 64-bit addresses when talking to PMON targets."), _("\
+Show zeroing of upper 32 bits of 64-bit addresses when talking to PMON targets."), _("\
+Use \"on\" to enable the masking and \"off\" to disable it."),
+ NULL,
+ NULL, /* FIXME: i18n: */
+ &setlist, &showlist);
}