summaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-18 18:58:56 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-18 18:58:56 +0000
commit99185bfe21768a650964160d4134eeafb8969fa6 (patch)
tree6c48c1137270a09076abb0370f433bd3307f42f8 /gdb/parse.c
parent7425f4ec05a5dd944ec817ebf8f2131e34f2db71 (diff)
downloadgdb-99185bfe21768a650964160d4134eeafb8969fa6.tar.gz
2005-02-18 Andrew Cagney <cagney@gnu.org>
Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh and gdbarch.c. * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update. * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update. * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update. * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update. * varobj.c, cli/cli-cmds.c: Update. * gdbarch.c, gdb-events.c: Regenerate.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r--gdb/parse.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index da80b99c339..4720f016e47 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -1312,11 +1312,12 @@ _initialize_parse (void)
DEPRECATED_REGISTER_GDBARCH_SWAP (msym_unknown_symbol_type);
deprecated_register_gdbarch_swap (NULL, 0, build_parse);
- deprecated_add_show_from_set
- (add_set_cmd ("expression", class_maintenance, var_zinteger,
- (char *) &expressiondebug,
- "Set expression debugging.\n\
-When non-zero, the internal representation of expressions will be printed.",
- &setdebuglist),
- &showdebuglist);
+ add_setshow_zinteger_cmd ("expression", class_maintenance,
+ &expressiondebug, _("\
+Set expression debugging."), _("\
+Show expression debugging."), _("\
+When non-zero, the internal representation of expressions will be printed."),
+ NULL,
+ NULL, /* FIXME: i18n: */
+ &setdebuglist, &showdebuglist);
}