This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove premature comments from previous patch to completer.c
- From: Doug Evans <devans at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 31 Jan 2015 22:18:55 -0000
- Subject: [binutils-gdb] Remove premature comments from previous patch to completer.c
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=05cdcf3d36ce579b3bf8c45badee7974b6adb88d
commit 05cdcf3d36ce579b3bf8c45badee7974b6adb88d
Author: Doug Evans <xdje42@gmail.com>
Date: Sat Jan 31 14:17:16 2015 -0800
Remove premature comments from previous patch to completer.c
These comments are for a followup patch.
Diff:
---
gdb/completer.c | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/gdb/completer.c b/gdb/completer.c
index 88c8e16..5937439 100644
--- a/gdb/completer.c
+++ b/gdb/completer.c
@@ -1538,13 +1538,8 @@ gdb_display_match_list_1 (char **matches, int len, int max,
/* Utility for displaying completion list matches, used by both CLI and TUI.
MATCHES is the list of strings, in argv format, LEN is the number of
- strings in MATCHES, and MAX is the length of the longest string in MATCHES.
-
- This function handles the LIST_MAYBE_TRUNCATED marker that we add to the
- completion list.
-
- Note: While LIST_MAYBE_TRUNCATED contributes to MAX, it's not long enough
- that we worry about it. */
+ strings in MATCHES, and MAX is the length of the longest string in
+ MATCHES. */
void
gdb_display_match_list (char **matches, int len, int max,