aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/proc-api.c')
-rw-r--r--gdb/proc-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/proc-api.c b/gdb/proc-api.c
index 986691d..2d3ca9f 100644
--- a/gdb/proc-api.c
+++ b/gdb/proc-api.c
@@ -778,7 +778,7 @@ _initialize_proc_api (void)
add_show_from_set (c, &showlist);
set_cmd_sfunc (c, set_procfs_trace_cmd);
- c->completer = filename_completer;
+ set_cmd_completer (c, filename_completer);
c = add_set_cmd ("procfs-file", no_class, var_filename,
(char *) &procfs_filename,