summaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
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 a2562d3289d..cb8d88d5be8 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);
}