summaryrefslogtreecommitdiff
path: root/gdb/completer.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-01-10 08:15:58 +0000
committerEli Zaretskii <eliz@gnu.org>2002-01-10 08:15:58 +0000
commitd8141e42e6d2c4b105aa8a78adf8dae815da9cc7 (patch)
treea9765ce7d888f1439c1eee0ca535b76ec81caec3 /gdb/completer.h
parentab46302f2ae52fd4cfdfb8bd8a1629d8b09b25f4 (diff)
downloadgdb-d8141e42e6d2c4b105aa8a78adf8dae815da9cc7.tar.gz
* completer.c (command_completer): New function.
* completer.h <command_completer>: Add prototype. * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the completer for the "help" command.
Diffstat (limited to 'gdb/completer.h')
-rw-r--r--gdb/completer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/completer.h b/gdb/completer.h
index aa0804cafcd..c717a5e5c38 100644
--- a/gdb/completer.h
+++ b/gdb/completer.h
@@ -29,6 +29,8 @@ extern char **filename_completer (char *, char *);
extern char **location_completer (char *, char *);
+extern char **command_completer (char *, char *);
+
extern char *get_gdb_completer_word_break_characters (void);
extern char *get_gdb_completer_quote_characters (void);