summaryrefslogtreecommitdiff
path: root/gdb/m2-lang.c
diff options
context:
space:
mode:
authorJimmy Guo <guo@cup.hp.com>2000-08-11 01:02:35 +0000
committerJimmy Guo <guo@cup.hp.com>2000-08-11 01:02:35 +0000
commit7cd88377253939e5530e78b3ba34d7e5941854a0 (patch)
treec82369a10d3073844fc28805043ef7920f4e4d8d /gdb/m2-lang.c
parent652517fddf384292980cfc43dfa562c9f456fab8 (diff)
downloadgdb-7cd88377253939e5530e78b3ba34d7e5941854a0.tar.gz
2000-08-10 Jimmy Guo <guo@cup.hp.com>
* c-lang.c: Set case sensitivity on for c_language_defn, cplus_language_defn, and asm_language_defn. * ch-lang.c: Set case sensitivity on for chill_language_defn. * f-lang.c: Set case sensivitity off for f_language_defn. * jv-lang.c: Set case sensitivity on for java_language_defn. * language.h: Add enum case_mode, case_sensitivity. * language.c: Define case_mode, case_sensitivity. Set case sensitivity on for unknown_language_defn, auto_language_defn, and local_language_defn. (show_case_command,set_case_command,set_case_str): New static func. (set_type_range_case): New static func, replaces set_type_range (). (set_language_command,set_type_command,set_range_command,set_language): Call set_type_range_case (). (language_info): Print case sensitivity setting. (_initialize_language): Add set/show commands for 'case-sensitive'. Set default case mode 'auto'. Set default language 'auto'. * m2-lang.c: Set case sensitivity on for m2_language_defn. * p-lang.c: Set case sensitivity on for pascal_language_defn. * scm-lang.c: Set case sensitivity off for scm_language_defn. * symtab.c (lookup_symbol): Downcase symbol name if case sensivitity is off.
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 cc3d82f8cc9..3896c2d4232 100644
--- a/gdb/m2-lang.c
+++ b/gdb/m2-lang.c
@@ -414,6 +414,7 @@ const struct language_defn m2_language_defn =
m2_builtin_types,
range_check_on,
type_check_on,
+ case_sensitive_on,
m2_parse, /* parser */
m2_error, /* parser error function */
evaluate_subexp_standard,