From 85c078043bd43ef5cb76191a6d3e2159da0c302e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 18 Feb 2005 18:58:56 +0000 Subject: 2005-02-18 Andrew Cagney 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. --- gdb/maint.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'gdb/maint.c') diff --git a/gdb/maint.c b/gdb/maint.c index afbcba3..b155381 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, _("\ -- cgit v1.1