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 | f397e30345ade7e6fcdf186693715ca227508511 (patch) | |
tree | 6033eeb56fea767ea786c349f82f205432d8efb3 /gdb/serial.c | |
parent | 68320ddb7e5b01262e93cf9d57ffe9ea71d289d6 (diff) | |
download | gdb-f397e30345ade7e6fcdf186693715ca227508511.zip gdb-f397e30345ade7e6fcdf186693715ca227508511.tar.gz gdb-f397e30345ade7e6fcdf186693715ca227508511.tar.bz2 |
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 0c58806..a2562d3 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, |