From f397e30345ade7e6fcdf186693715ca227508511 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/proc-api.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/proc-api.c') 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); } -- cgit v1.1