summaryrefslogtreecommitdiff
path: root/gdb/maint.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/maint.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/maint.c')
-rw-r--r--gdb/maint.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/gdb/maint.c b/gdb/maint.c
index afbcba30faf..b1553811a8d 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -852,16 +852,15 @@ testsuite can check the comamnd deprecator. You probably shouldn't use this,\n\
If you decide you want to use it: maintenance undeprecate 'commandname'"),
&maintenancelist);
- deprecated_add_show_from_set
- (add_set_cmd ("watchdog", class_maintenance, var_zinteger,
- (char *) &watchdog,
- "Set watchdog timer.\n\
+ add_setshow_zinteger_cmd ("watchdog", class_maintenance, &watchdog, _("\
+Set watchdog timer."), _("\
+Show watchdog timer."), _("\
When non-zero, this timeout is used instead of waiting forever for a target\n\
to finish a low-level step or continue operation. If the specified amount\n\
-of time passes without a response from the target, an error occurs.",
- &setlist),
- &showlist);
-
+of time passes without a response from the target, an error occurs."),
+ NULL,
+ NULL, /* FIXME: i18n: */
+ &setlist, &showlist);
add_setshow_boolean_cmd ("profile", class_maintenance,
&maintenance_profile_p, _("\