completer.c (complete_line): Remove incorrect comment.
gdb/ChangeLog: * completer.c (complete_line): Remove incorrect comment.
This commit is contained in:
parent
dbb3fbbb1a
commit
9a7e538ee1
@ -1,3 +1,7 @@
|
|||||||
|
2015-02-12 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* completer.c (complete_line): Remove incorrect comment.
|
||||||
|
|
||||||
2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* python/py-framefilter.c (py_print_single_arg, enumerate_locals)
|
* python/py-framefilter.c (py_print_single_arg, enumerate_locals)
|
||||||
|
@ -860,14 +860,7 @@ throw_max_completions_reached_error (void)
|
|||||||
/* Generate completions all at once. Returns a vector of unique strings
|
/* Generate completions all at once. Returns a vector of unique strings
|
||||||
allocated with xmalloc. Returns NULL if there are no completions
|
allocated with xmalloc. Returns NULL if there are no completions
|
||||||
or if max_completions is 0. If max_completions is non-negative, this will
|
or if max_completions is 0. If max_completions is non-negative, this will
|
||||||
return at most max_completions + 1 strings.
|
return at most max_completions 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.
|
|
||||||
|
|
||||||
TEXT is the caller's idea of the "word" we are looking at.
|
TEXT is the caller's idea of the "word" we are looking at.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user