aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.h
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.h
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.h')
-rw-r--r--gdb/language.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/language.h b/gdb/language.h
index 6d039c7..7470167 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -267,6 +267,9 @@ struct language_defn
/* Type of elements of strings. */
struct type **string_char_type;
+ /* The list of characters forming word boundaries. */
+ char *(*la_word_break_characters) (void);
+
/* Add fields above this point, so the magic number is always last. */
/* Magic number for compat checking */