summaryrefslogtreecommitdiff
path: root/gdb/linespec.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linespec.h')
-rw-r--r--gdb/linespec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/linespec.h b/gdb/linespec.h
index f16bb81a24..27d237a46a 100644
--- a/gdb/linespec.h
+++ b/gdb/linespec.h
@@ -186,6 +186,11 @@ extern void linespec_lex_to_end (char **stringp);
extern const char * const linespec_keywords[];
+/* Complete a linespec. */
+
+extern void linespec_complete (completion_tracker &tracker,
+ const char *text);
+
/* Complete a function symbol, in linespec mode. If SOURCE_FILENAME
is non-NULL, limits completion to the list of functions defined in
source files that match SOURCE_FILENAME. */