From a95dd3a9b7497aa1725611a746dd441825be0189 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 17 Feb 2005 17:11:04 +0000 Subject: 2005-02-17 Andrew Cagney * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer to filename_completer. * solib.c (_initialize_solib, reload_shared_libraries): Use add_setshow_filename_cmd. * serial.c (_initialize_serial): Ditto. * remote-utils.c (_initialize_sr_support): Ditto. --- gdb/serial.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gdb/serial.c') diff --git a/gdb/serial.c b/gdb/serial.c index 0c58806aa09..a2562d3289d 100644 --- a/gdb/serial.c +++ b/gdb/serial.c @@ -686,14 +686,14 @@ Show default serial/parallel port configuration."), 0/*allow-unknown*/, &showlist); - deprecated_add_show_from_set - (add_set_cmd ("remotelogfile", no_class, - var_filename, (char *) &serial_logfile, - "Set filename for remote session recording.\n\ + add_setshow_filename_cmd ("remotelogfile", no_class, &serial_logfile, _("\ +Set filename for remote session recording."), _("\ +Show filename for remote session recording."), _("\ This file is used to record the remote session for future playback\n\ -by gdbserver.", - &setlist), - &showlist); +by gdbserver."), + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); deprecated_add_show_from_set (add_set_enum_cmd ("remotelogbase", no_class, -- cgit v1.2.1