diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-07-28 15:18:08 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-07-28 15:18:08 +0000 |
commit | e9667a656bea31ff7d801cf8a7699f0f006319a1 (patch) | |
tree | 171f94b359a81ad6759f22aa3ccb6c3a02a59810 /gdb/c-lang.h | |
parent | 685419e2aef59a0cdc15b47fcab1fa462d2c6392 (diff) | |
download | gdb-e9667a656bea31ff7d801cf8a7699f0f006319a1.zip gdb-e9667a656bea31ff7d801cf8a7699f0f006319a1.tar.gz gdb-e9667a656bea31ff7d801cf8a7699f0f006319a1.tar.bz2 |
2004-07-28 Andrew Cagney <cagney@gnu.org>
* scm-lang.c (c_builtin_types): Delete extern declaration.
(scm_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.
* jv-lang.c (java_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.
* config/i386/i386sco4.mh (NATDEPFILES): Remove reference to
c_builtin_types in comment.
* c-lang.h (struct language_arch_info): Declare opaque.
(c_language_arch_info): Declare.
(c_builtin_types): Delete declaration.
* c-lang.c (c_language_arch_info): Set string_char_type to
builtin_char, not builtin_true_char. Make global.
(c_builtin_types): Delete array.
(asm_language_defn, minimal_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.
Diffstat (limited to 'gdb/c-lang.h')
-rw-r--r-- | gdb/c-lang.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/c-lang.h b/gdb/c-lang.h index dd8f231..bce7749 100644 --- a/gdb/c-lang.h +++ b/gdb/c-lang.h @@ -24,6 +24,7 @@ #define C_LANG_H 1 struct ui_file; +struct language_arch_info; #include "value.h" #include "macroexp.h" @@ -61,7 +62,8 @@ extern void *expression_macro_lookup_baton; extern struct type *c_create_fundamental_type (struct objfile *, int); -extern struct type **const (c_builtin_types[]); +extern void c_language_arch_info (struct gdbarch *gdbarch, + struct language_arch_info *lai); /* These are in c-typeprint.c: */ |