diff options
author | Doug Evans <dje@google.com> | 2015-02-12 12:19:31 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2015-02-12 12:20:37 -0800 |
commit | 9a7e538ee10ff885d8bb49ad71da262729a1604d (patch) | |
tree | b7fbdb46ac89d6e3125ac18768632dd98301b20a /gdb/completer.c | |
parent | dbb3fbbb1a3b387a0d33dfd5764cf92bc3da7f41 (diff) | |
download | gdb-9a7e538ee10ff885d8bb49ad71da262729a1604d.zip gdb-9a7e538ee10ff885d8bb49ad71da262729a1604d.tar.gz gdb-9a7e538ee10ff885d8bb49ad71da262729a1604d.tar.bz2 |
completer.c (complete_line): Remove incorrect comment.
gdb/ChangeLog:
* completer.c (complete_line): Remove incorrect comment.
Diffstat (limited to 'gdb/completer.c')
-rw-r--r-- | gdb/completer.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gdb/completer.c b/gdb/completer.c index bfd2788..add79cc 100644 --- a/gdb/completer.c +++ b/gdb/completer.c @@ -860,14 +860,7 @@ throw_max_completions_reached_error (void) /* Generate completions all at once. Returns a vector of unique strings allocated with xmalloc. Returns NULL if there are no completions or if max_completions is 0. If max_completions is non-negative, this will - return at most max_completions + 1 strings. - - If max_completions strings are collected, an extra string is added which - is a text message to inform the user that the list may be truncated. - This extra string serves two purposes: - 1) Inform the user. - 2) Prevent readline from being able to find a common prefix to advance - point to, since it's working with an incomplete list. + return at most max_completions strings. TEXT is the caller's idea of the "word" we are looking at. |