aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-lang.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-02-05 22:17:41 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-02-05 22:17:41 +0000
commit41d27058f2a51665c78726b4a13510fcfc7db007 (patch)
treecdb0c24e4d0af929e86276b5e1cbcf5aaa16344f /gdb/m2-lang.c
parent2276bc20896a6f94f7061327e59032cfceb8ef08 (diff)
downloadgdb-41d27058f2a51665c78726b4a13510fcfc7db007.zip
gdb-41d27058f2a51665c78726b4a13510fcfc7db007.tar.gz
gdb-41d27058f2a51665c78726b4a13510fcfc7db007.tar.bz2
* language.h (struct language_defn): Add new field
la_make_symbol_completion_list. * symtab.c (default_make_symbol_completion_list): Renames make_symbol_completion_list. (make_symbol_completion_list): New function. * symtab.h (default_make_symbol_completion_list): Add declaration. * langauge.c (unknown_language): Set la_make_symbol_completion_list. (auto_language, local_language): Likewise. * objc-lang.c (objc_language_defn): Likewise. * scm-lang.c (scm_language_defn): Likewise. * m2-lang.c (m2_language_defn): Likewise. * f-lang.c (f_language_defn): Likewise. * jv-lang.c (java_language_defn): Likewise. * p-lang.c (pascal_language_defn): Likewise. * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn) (minimal_language_defn): Likewise. * ada-lang.c (struct string_vector): New structure. (new_string_vector, string_vector_append, ada_unqualified_name) (add_angle_brackets, symbol_completion_match, symbol_completion_add) (ada_make_symbol_completion_list): New functions. (ada_language_defn): Set la_make_symbol_completion_list. * ada-lang.h (ada_make_symbol_completion_list): Remove declaration, this function is static.
Diffstat (limited to 'gdb/m2-lang.c')
-rw-r--r--gdb/m2-lang.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c
index bdb1cbd..6b51fd5 100644
--- a/gdb/m2-lang.c
+++ b/gdb/m2-lang.c
@@ -384,6 +384,7 @@ const struct language_defn m2_language_defn =
0, /* arrays are first-class (not c-style) */
0, /* String lower bound */
default_word_break_characters,
+ default_make_symbol_completion_list,
m2_language_arch_info,
default_print_array_index,
default_pass_by_reference,