aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-21 04:31:59 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-21 04:31:59 +0000
commit7ab044018aac127cb2867aadf8faa4a3a2e46142 (patch)
tree9bed9e14cf7de9e50d165b8178bafbedc47120b4 /gdb/serial.c
parent78f5381d69fee5c3fc74a2358267b425190cad54 (diff)
downloadgdb-7ab044018aac127cb2867aadf8faa4a3a2e46142.zip
gdb-7ab044018aac127cb2867aadf8faa4a3a2e46142.tar.gz
gdb-7ab044018aac127cb2867aadf8faa4a3a2e46142.tar.bz2
2005-02-20 Andrew Cagney <cagney@gnu.org>
Use add_setshow_enum_cmd through out. * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update. * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index cb8d88d..3ad08ca 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -695,12 +695,13 @@ by gdbserver."),
NULL, /* FIXME: i18n: */
&setlist, &showlist);
- deprecated_add_show_from_set
- (add_set_enum_cmd ("remotelogbase", no_class,
- logbase_enums, &serial_logbase,
- "Set numerical base for remote session logging",
- &setlist),
- &showlist);
+ add_setshow_enum_cmd ("remotelogbase", no_class, logbase_enums,
+ &serial_logbase, _("\
+Set numerical base for remote session logging"), _("\
+Show numerical base for remote session logging"), NULL,
+ NULL,
+ NULL, /* FIXME: i18n: */
+ &setlist, &showlist);
add_setshow_zinteger_cmd ("serial", class_maintenance,
&global_serial_debug_p, _("\