aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-10-06 22:38:03 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-10-06 22:38:03 +0000
commit6084f43ac2f372ffb54f26cafab54f0015090ce8 (patch)
tree6bbe5a869f9548a7b7a919ea078054f4f5510b24 /gdb/language.c
parent944fcfab5627d6910fb98d6fbab0626d1f2e54ef (diff)
downloadgdb-6084f43ac2f372ffb54f26cafab54f0015090ce8.zip
gdb-6084f43ac2f372ffb54f26cafab54f0015090ce8.tar.gz
gdb-6084f43ac2f372ffb54f26cafab54f0015090ce8.tar.bz2
* language.h (language_defn): new field, la_word_break_characters.
* language.c (unknown_language_defn): Set new field to default_word_break_characters. (auto_language_defn): Likewise. (local_language_defn): Likewise. * ada-lang.c (ada_language_defn): Likewise. * c-lang.c (c_language_defn): Likewise. (cplus_language_defn): Likewise. (asm_language_defn): Likewise. (minimal_language_defn): Likewise. * f-lang.c (f_language_defn): Likewise. * jv-lang.c (java_language_defn): Likewise. * m2-lang.c (m2_language_defn): Likewise. * objc-lang.c (objc_language_defn): Likewise. * p-lang.c (pascal_language_defn): Likewise. * scm-lang.c (scm_language_defn): Likewise.
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/language.c b/gdb/language.c
index 6cb2c38..de7b491 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -1298,6 +1298,7 @@ const struct language_defn unknown_language_defn =
1, /* c-style arrays */
0, /* String lower bound */
&builtin_type_char, /* Type of string elements */
+ default_word_break_characters,
LANG_MAGIC
};
@@ -1332,6 +1333,7 @@ const struct language_defn auto_language_defn =
1, /* c-style arrays */
0, /* String lower bound */
&builtin_type_char, /* Type of string elements */
+ default_word_break_characters,
LANG_MAGIC
};
@@ -1365,6 +1367,7 @@ const struct language_defn local_language_defn =
1, /* c-style arrays */
0, /* String lower bound */
&builtin_type_char, /* Type of string elements */
+ default_word_break_characters,
LANG_MAGIC
};