-Wwrite-strings: Constify word break character arrays
[deliverable/binutils-gdb.git] / gdb / top.c
index 295b6806deff22a61a7ae7df7e0f5c3192e28ca0..4a22be135ab58caa28f19749c53c1dac5f96fb14 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -2022,7 +2022,7 @@ init_main (void)
   /* Setup important stuff for command line editing.  */
   rl_completion_word_break_hook = gdb_completion_word_break_characters;
   rl_completion_entry_function = readline_line_completion_function;
-  rl_completer_word_break_characters = default_word_break_characters ();
+  set_rl_completer_word_break_characters (default_word_break_characters ());
   rl_completer_quote_characters = get_gdb_completer_quote_characters ();
   rl_completion_display_matches_hook = cli_display_match_list;
   rl_readline_name = "gdb";
This page took 0.024501 seconds and 4 git commands to generate.