diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-17 17:11:04 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-17 17:11:04 +0000 |
commit | a95dd3a9b7497aa1725611a746dd441825be0189 (patch) | |
tree | 196bf61224d80d92b9fa6d51564050c4695597bc /gdb/serial.c | |
parent | a0e9ec787f6e2d5d3ab2925270282051234e8fe4 (diff) | |
download | gdb-a95dd3a9b7497aa1725611a746dd441825be0189.tar.gz |
2005-02-17 Andrew Cagney <cagney@gnu.org>
* 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.
Diffstat (limited to 'gdb/serial.c')
-rw-r--r-- | gdb/serial.c | 14 |
1 files changed, 7 insertions, 7 deletions
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, |