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/proc-api.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/proc-api.c')
-rw-r--r-- | gdb/proc-api.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/proc-api.c b/gdb/proc-api.c index ec8060c..bef297c 100644 --- a/gdb/proc-api.c +++ b/gdb/proc-api.c @@ -788,10 +788,10 @@ _initialize_proc_api (void) set_cmd_sfunc (c, set_procfs_trace_cmd); set_cmd_completer (c, filename_completer); - c = add_set_cmd ("procfs-file", no_class, var_filename, - (char *) &procfs_filename, - "Set filename for /proc tracefile.\n", &setlist); - - deprecated_add_show_from_set (c, &showlist); - set_cmd_sfunc (c, set_procfs_file_cmd); + add_setshow_filename_cmd ("procfs-file", no_class, &procfs_filename, _("\ +Set filename for /proc tracefile."), _("\ +Show filename for /proc tracefile."), NULL, + set_procfs_file_cmd, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); } |