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/cli | |
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/cli')
-rw-r--r-- | gdb/cli/cli-cmds.c | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index dcbb5f9..4f265b8 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -1181,21 +1181,23 @@ is used, the same rules apply to its nested commands as to the first ones.")); /* If target is open when baud changes, it doesn't take effect until the next open (I think, not sure). */ - deprecated_add_show_from_set - (add_set_cmd ("remotebaud", no_class, - var_zinteger, (char *) &baud_rate, - "Set baud rate for remote serial I/O.\n\ + add_setshow_zinteger_cmd ("remotebaud", no_class, &baud_rate, _("\ +Set baud rate for remote serial I/O."), _("\ +Show baud rate for remote serial I/O."), _("\ This value is used to set the speed of the serial port when debugging\n\ -using remote targets.", &setlist), - &showlist); - - deprecated_add_show_from_set - (add_set_cmd ("remote", no_class, var_zinteger, - (char *) &remote_debug, - "Set debugging of remote protocol.\n\ +using remote targets."), + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); + + add_setshow_zinteger_cmd ("remote", no_class, &remote_debug, _("\ +Set debugging of remote protocol."), _("\ +Show debugging of remote protocol."), _("\ When enabled, each packet sent or received with the remote target\n\ -is displayed.", &setdebuglist), - &showdebuglist); +is displayed."), + NULL, + NULL, /* FIXME: i18n: */ + &setdebuglist, &showdebuglist); deprecated_add_show_from_set (add_set_cmd ("remotetimeout", no_class, var_integer, (char *) &remote_timeout, |