diff options
author | Joel Brobecker <brobecker@gnat.com> | 2003-10-06 22:41:17 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2003-10-06 22:41:17 +0000 |
commit | 51065942b417e9d2cf910bba720833c3a136e57f (patch) | |
tree | d6d05f9ab21b62ad581f8f027a3e0057f948adc5 /gdb/top.c | |
parent | 6084f43ac2f372ffb54f26cafab54f0015090ce8 (diff) | |
download | binutils-gdb-51065942b417e9d2cf910bba720833c3a136e57f.tar.gz |
* completer.h (get_gdb_completer_word_break_characters): Delete.
* completer.c: include language.h.
(gdb_completer_word_break_characters): Delete.
(get_gdb_completer_word_break_characters): Delete.
(location_completer): Use the word break characters of the current
language.
(complete_line): Likewise.
(line_completion_function): Likewise.
(skip_quoted_chars): Likewise.
* Makefile.in (completer.o): Add dependency on language.h.
* top.c (init_main): Set the readline word break characters
to GDB's default word break characters.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/top.c b/gdb/top.c index baeaa933921..0e22c1fa3e8 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1719,8 +1719,7 @@ init_main (void) /* Setup important stuff for command line editing. */ rl_completion_entry_function = readline_line_completion_function; - rl_completer_word_break_characters = - get_gdb_completer_word_break_characters (); + rl_completer_word_break_characters = default_word_break_characters (); rl_completer_quote_characters = get_gdb_completer_quote_characters (); rl_readline_name = "gdb"; rl_terminal_name = getenv ("TERM"); |