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/remote-utils.c | |
parent | 68320ddb7e5b01262e93cf9d57ffe9ea71d289d6 (diff) | |
download | fsf-binutils-gdb-f397e30345ade7e6fcdf186693715ca227508511.zip fsf-binutils-gdb-f397e30345ade7e6fcdf186693715ca227508511.tar.gz fsf-binutils-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/remote-utils.c')
-rw-r--r-- | gdb/remote-utils.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/remote-utils.c b/gdb/remote-utils.c index ebac95a..65e4f49 100644 --- a/gdb/remote-utils.c +++ b/gdb/remote-utils.c @@ -595,14 +595,14 @@ gr_prepare_to_store (void) void _initialize_sr_support (void) { -/* FIXME-now: if target is open... */ - deprecated_add_show_from_set - (add_set_cmd ("remotedevice", no_class, - var_filename, (char *) &sr_settings.device, - "Set device for remote serial I/O.\n\ -This device is used as the serial port when debugging using remote\n\ -targets.", &setlist), - &showlist); + /* FIXME-now: if target is open... */ + add_setshow_filename_cmd ("remotedevice", no_class, &sr_settings.device, _("\ +Set device for remote serial I/O."), _("\ +Show device for remote serial I/O."), _("\ +This device is used as the serial port when debugging using remote targets."), + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); add_com ("remote <command>", class_obscure, sr_com, _("Send a command to the remote monitor.")); |