aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.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
commit85c078043bd43ef5cb76191a6d3e2159da0c302e (patch)
treeaef38e888b43e7d9b0213072ba24fed730662da7 /gdb/serial.c
parent904c75ac4f1f245639601fa4f62fe95579ad6b59 (diff)
downloadfsf-binutils-gdb-85c078043bd43ef5cb76191a6d3e2159da0c302e.zip
fsf-binutils-gdb-85c078043bd43ef5cb76191a6d3e2159da0c302e.tar.gz
fsf-binutils-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/serial.c')
-rw-r--r--gdb/serial.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index a2562d3..cb8d88d 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -702,12 +702,12 @@ by gdbserver."),
&setlist),
&showlist);
- deprecated_add_show_from_set
- (add_set_cmd ("serial",
- class_maintenance,
- var_zinteger,
- (char *)&global_serial_debug_p,
- "Set serial debugging.\n\
-When non-zero, serial port debugging is enabled.", &setdebuglist),
- &showdebuglist);
+ add_setshow_zinteger_cmd ("serial", class_maintenance,
+ &global_serial_debug_p, _("\
+Set serial debugging."), _("\
+Show serial debugging."), _("\
+When non-zero, serial port debugging is enabled."),
+ NULL,
+ NULL, /* FIXME: i18n: */
+ &setdebuglist, &showdebuglist);
}