From fa58ee119617c4302d6bf94ff751c3ee8e1062cd Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 19 Feb 2001 11:47:16 +0000 Subject: * demangle.c (demangling_style_names): New variable. (_initialize_demangler): Fill demangling_style_names with the names of known demangling styles from libiberty_demanglers[]. Use add_set_enum_cmd instead of add_set_cmd, to get completion on demangling style names. * proc-api.c (_initialize_proc_api): Make `procfs-file' use file-name completion. * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'. * solib.c (_initialize_solib): Ditto for `solib-search-path' and `solib-absolute-prefix'. * tracepoint.c (_initialize_tracepoint): Ditto for `save-tracepoints'. * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'. * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use file-name completion. * infcmd.c (_initialize_infcmd): Make the following commands use the file-name completer: `tty', `args', `path', `paths', and `run'. --- gdb/proc-api.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/proc-api.c') diff --git a/gdb/proc-api.c b/gdb/proc-api.c index 8a28b00..813923a 100644 --- a/gdb/proc-api.c +++ b/gdb/proc-api.c @@ -770,6 +770,7 @@ _initialize_proc_api (void) add_show_from_set (c, &showlist); c->function.sfunc = set_procfs_trace_cmd; + c->completer = filename_completer; c = add_set_cmd ("procfs-file", no_class, var_filename, (char *) &procfs_filename, -- cgit v1.1