aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.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/c-lang.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/c-lang.c')
-rw-r--r--gdb/c-lang.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/c-lang.c b/gdb/c-lang.c
index f5a87a4..a296d81 100644
--- a/gdb/c-lang.c
+++ b/gdb/c-lang.c
@@ -565,6 +565,7 @@ const struct language_defn c_language_defn =
1, /* c-style arrays */
0, /* String lower bound */
&builtin_type_char, /* Type of string elements */
+ default_word_break_characters,
LANG_MAGIC
};
@@ -621,6 +622,7 @@ const struct language_defn cplus_language_defn =
1, /* c-style arrays */
0, /* String lower bound */
&builtin_type_char, /* Type of string elements */
+ default_word_break_characters,
LANG_MAGIC
};
@@ -654,6 +656,7 @@ const struct language_defn asm_language_defn =
1, /* c-style arrays */
0, /* String lower bound */
&builtin_type_char, /* Type of string elements */
+ default_word_break_characters,
LANG_MAGIC
};
@@ -692,6 +695,7 @@ const struct language_defn minimal_language_defn =
1, /* c-style arrays */
0, /* String lower bound */
&builtin_type_char, /* Type of string elements */
+ default_word_break_characters,
LANG_MAGIC
};