Remove unused function set_gdb_completion_word_break_characters
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 26 Nov 2019 17:12:01 +0000 (12:12 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 26 Nov 2019 19:29:19 +0000 (14:29 -0500)
gdb/ChangeLog:

* completer.c (set_gdb_completion_word_break_characters):
Remove.

Change-Id: If39b8d01f215a42ea3d01fb8290014613ec0bb8b

gdb/ChangeLog
gdb/completer.c

index 82b0adf0876cbfe0489b6ce07a15ee79afb05382..7b80e1310d9d6d20614b04ffec907f32117e17dc 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 5f75aaa497b9da8ddad08dd6e7325e67a587e141..b34b7762c629d76591934782610e379a0c400fd5 100644 (file)
@@ -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