aboutsummaryrefslogtreecommitdiff
path: root/gdb/ctf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ctf.c')
-rw-r--r--gdb/ctf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ctf.c b/gdb/ctf.c
index 0985784..b8252e4 100644
--- a/gdb/ctf.c
+++ b/gdb/ctf.c
@@ -25,6 +25,7 @@
#include "regcache.h"
#include "gdb_stat.h"
#include "exec.h"
+#include "completer.h"
#include <ctype.h>
@@ -1843,6 +1844,6 @@ _initialize_ctf (void)
#if HAVE_LIBBABELTRACE
init_ctf_ops ();
- add_target (&ctf_ops);
+ add_target_with_completer (&ctf_ops, filename_completer);
#endif
}