diff options
author | Tom Tromey <tromey@redhat.com> | 2002-02-18 01:12:38 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2002-02-18 01:12:38 +0000 |
commit | 83d31a92df84ad938cf24a599c769df5f4bf1206 (patch) | |
tree | c2980a06f239ee8a63988fcc285a5f80e9ed03f6 /gdb/completer.h | |
parent | 380caad4f1ae3fe237c3696a8d1a6b69b846b893 (diff) | |
download | gdb-83d31a92df84ad938cf24a599c769df5f4bf1206.zip gdb-83d31a92df84ad938cf24a599c769df5f4bf1206.tar.gz gdb-83d31a92df84ad938cf24a599c769df5f4bf1206.tar.bz2 |
* cli/cli-cmds.c (compare_strings): New function.
(complete_command): Only print each unique item once.
* completer.h (complete_line): Declare.
* completer.c (complete_line): New function.
(line_completion_function): Use it.
Diffstat (limited to 'gdb/completer.h')
-rw-r--r-- | gdb/completer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/completer.h b/gdb/completer.h index c717a5e..98b9ed8 100644 --- a/gdb/completer.h +++ b/gdb/completer.h @@ -19,6 +19,8 @@ #if !defined (COMPLETER_H) #define COMPLETER_H 1 +extern char **complete_line (char *text, char *line_buffer, int point); + extern char *line_completion_function (char *, int, char *, int); extern char *readline_line_completion_function (char *text, int matches); |