aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 9a2425b..009db82 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -54,6 +54,7 @@
#include "cli/cli-utils.h"
#include "probe.h"
#include "ctf.h"
+#include "completer.h"
/* readline include files */
#include "readline/readline.h"
@@ -5904,5 +5905,5 @@ Show the notes string to use for future tstop commands"), NULL,
init_tfile_ops ();
- add_target (&tfile_ops);
+ add_target_with_completer (&tfile_ops, filename_completer);
}