diff options
author | Jimmy Guo <guo@cup.hp.com> | 2000-08-11 01:02:35 +0000 |
---|---|---|
committer | Jimmy Guo <guo@cup.hp.com> | 2000-08-11 01:02:35 +0000 |
commit | 63872f9d95e101df1f08422179d1d676a2f10b9a (patch) | |
tree | e933644e67946a602af8c192ea35bc876c075444 /gdb/c-lang.c | |
parent | 548a3e15c8a9fd43e7bb955e31b141ef66abd51c (diff) | |
download | gdb-63872f9d95e101df1f08422179d1d676a2f10b9a.zip gdb-63872f9d95e101df1f08422179d1d676a2f10b9a.tar.gz gdb-63872f9d95e101df1f08422179d1d676a2f10b9a.tar.bz2 |
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/c-lang.c')
-rw-r--r-- | gdb/c-lang.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/c-lang.c b/gdb/c-lang.c index 5214c2a..e505395 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -409,6 +409,7 @@ const struct language_defn c_language_defn = c_builtin_types, range_check_off, type_check_off, + case_sensitive_on, c_parse, c_error, evaluate_subexp_standard, @@ -460,6 +461,7 @@ const struct language_defn cplus_language_defn = cplus_builtin_types, range_check_off, type_check_off, + case_sensitive_on, c_parse, c_error, evaluate_subexp_standard, @@ -488,6 +490,7 @@ const struct language_defn asm_language_defn = c_builtin_types, range_check_off, type_check_off, + case_sensitive_on, c_parse, c_error, evaluate_subexp_standard, |