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/scm-lang.c | |
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/scm-lang.c')
-rw-r--r-- | gdb/scm-lang.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/scm-lang.c b/gdb/scm-lang.c index 809f703..4b1db15 100644 --- a/gdb/scm-lang.c +++ b/gdb/scm-lang.c @@ -44,8 +44,6 @@ static void scm_printstr (struct ui_file * stream, char *string, unsigned int length, int width, int force_ellipses); -extern struct type **const (c_builtin_types[]); - struct type *builtin_type_scm; void @@ -246,7 +244,7 @@ const struct language_defn scm_language_defn = { "scheme", /* Language name */ language_scm, - c_builtin_types, + NULL, range_check_off, type_check_off, case_sensitive_off, @@ -274,9 +272,9 @@ const struct language_defn scm_language_defn = NULL, /* expression operators for printing */ 1, /* c-style arrays */ 0, /* String lower bound */ - &builtin_type_char, /* Type of string elements */ + NULL, default_word_break_characters, - NULL, /* FIXME: la_language_arch_info. */ + c_language_arch_info, LANG_MAGIC }; |