diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-07-28 04:33:49 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-07-28 04:33:49 +0000 |
commit | 01c08d79089b555fa0c9c3eb1ba61b7f97cd5365 (patch) | |
tree | ff394ccccd529910cbf702041e742de657ba89ec /gdb/language.c | |
parent | b24c0b75d70c257d401db7b01b1bfebb0aaca9ed (diff) | |
download | gdb-01c08d79089b555fa0c9c3eb1ba61b7f97cd5365.tar.gz |
2004-07-28 Andrew Cagney <cagney@gnu.org>
* language.h (struct language_arch_info): Fix typo
s/primative/primitive/.
* gdbtypes.c (lookup_primitive_typename): Ditto.
* language.c (language_lookup_primitive_type_by_name)
(unknown_language_arch_info): Ditto.
Diffstat (limited to 'gdb/language.c')
-rw-r--r-- | gdb/language.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/language.c b/gdb/language.c index b8ef8c9cb14..d1a1fb9aa6a 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -1283,7 +1283,7 @@ unknown_language_arch_info (struct gdbarch *gdbarch, struct language_arch_info *lai) { lai->string_char_type = builtin_type (gdbarch)->builtin_char; - lai->primative_type_vector = GDBARCH_OBSTACK_CALLOC (gdbarch, 1, + lai->primitive_type_vector = GDBARCH_OBSTACK_CALLOC (gdbarch, 1, struct type *); } @@ -1443,16 +1443,16 @@ language_string_char_type (const struct language_defn *la, } struct type * -language_lookup_primative_type_by_name (const struct language_defn *la, +language_lookup_primitive_type_by_name (const struct language_defn *la, struct gdbarch *gdbarch, const char *name) { struct language_gdbarch *ld = gdbarch_data (gdbarch, language_gdbarch_data); - if (ld->arch_info[la->la_language].primative_type_vector != NULL) + if (ld->arch_info[la->la_language].primitive_type_vector != NULL) { struct type *const *p; - for (p = ld->arch_info[la->la_language].primative_type_vector; + for (p = ld->arch_info[la->la_language].primitive_type_vector; (*p) != NULL; p++) { |