diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-18 18:58:56 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-18 18:58:56 +0000 |
commit | 85c078043bd43ef5cb76191a6d3e2159da0c302e (patch) | |
tree | aef38e888b43e7d9b0213072ba24fed730662da7 /gdb/maint.c | |
parent | 904c75ac4f1f245639601fa4f62fe95579ad6b59 (diff) | |
download | gdb-85c078043bd43ef5cb76191a6d3e2159da0c302e.zip gdb-85c078043bd43ef5cb76191a6d3e2159da0c302e.tar.gz gdb-85c078043bd43ef5cb76191a6d3e2159da0c302e.tar.bz2 |
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.c | 15 |
1 files changed, 7 insertions, 8 deletions
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, _("\ |