aboutsummaryrefslogtreecommitdiff
path: root/gdb/completer.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2019-11-26 12:12:01 -0500
committerSimon Marchi <simon.marchi@efficios.com>2019-11-26 14:29:19 -0500
commit781597ff9a5d876153b38a72bc88632463352208 (patch)
tree0778ba305987ee3f86caae3ce7dbec57c9ac7168 /gdb/completer.c
parent23baa4cc5ee5f1008aefa8a9e1010f9d2be6c5e3 (diff)
downloadgdb-781597ff9a5d876153b38a72bc88632463352208.zip
gdb-781597ff9a5d876153b38a72bc88632463352208.tar.gz
gdb-781597ff9a5d876153b38a72bc88632463352208.tar.bz2
Remove unused function set_gdb_completion_word_break_characters
gdb/ChangeLog: * completer.c (set_gdb_completion_word_break_characters): Remove. Change-Id: If39b8d01f215a42ea3d01fb8290014613ec0bb8b
Diffstat (limited to 'gdb/completer.c')
-rw-r--r--gdb/completer.c17
1 files changed, 0 insertions, 17 deletions
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