public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove unused function set_gdb_completion_word_break_characters
@ 2019-11-26 19:48 Simon Marchi
0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2019-11-26 19:48 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=781597ff9a5d876153b38a72bc88632463352208
commit 781597ff9a5d876153b38a72bc88632463352208
Author: Simon Marchi <simon.marchi@efficios.com>
Date: Tue Nov 26 12:12:01 2019 -0500
Remove unused function set_gdb_completion_word_break_characters
gdb/ChangeLog:
* completer.c (set_gdb_completion_word_break_characters):
Remove.
Change-Id: If39b8d01f215a42ea3d01fb8290014613ec0bb8b
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/completer.c | 17 -----------------
2 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 82b0adf..7b80e13 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+ * completer.c (set_gdb_completion_word_break_characters):
+ Remove.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
* dwarf-index-write.c: Include dwarf-index-write.h.
* mi/mi-interp.c: Include mi/mi-interp.h.
diff --git a/gdb/completer.c b/gdb/completer.c
index 5f75aaa..b34b776 100644
--- a/gdb/completer.c
+++ b/gdb/completer.c
@@ -1141,23 +1141,6 @@ set_rl_completer_word_break_characters (const char *break_chars)
rl_completer_word_break_characters = (char *) break_chars;
}
-/* See definition in completer.h. */
-
-void
-set_gdb_completion_word_break_characters (completer_ftype *fn)
-{
- const char *break_chars;
-
- /* So far we are only interested in differentiating filename
- completers from everything else. */
- if (fn == filename_completer)
- break_chars = gdb_completer_file_name_break_characters;
- else
- break_chars = gdb_completer_command_word_break_characters;
-
- set_rl_completer_word_break_characters (break_chars);
-}
-
/* Complete on symbols. */
void
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-26 19:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26 19:48 [binutils-gdb] Remove unused function set_gdb_completion_word_break_characters Simon Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).