From: Simon Marchi Date: Tue, 26 Nov 2019 17:12:01 +0000 (-0500) Subject: Remove unused function set_gdb_completion_word_break_characters X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=781597ff9a5d876153b38a72bc88632463352208;p=binutils-gdb.git Remove unused function set_gdb_completion_word_break_characters gdb/ChangeLog: * completer.c (set_gdb_completion_word_break_characters): Remove. Change-Id: If39b8d01f215a42ea3d01fb8290014613ec0bb8b --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 82b0adf0876..7b80e1310d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-11-26 Simon Marchi + + * completer.c (set_gdb_completion_word_break_characters): + Remove. + 2019-11-26 Simon Marchi * dwarf-index-write.c: Include dwarf-index-write.h. diff --git a/gdb/completer.c b/gdb/completer.c index 5f75aaa497b..b34b7762c62 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