summaryrefslogtreecommitdiff
path: root/gdb/language.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-28 04:33:49 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-28 04:33:49 +0000
commit5a44ea29aea73cce2be45f6c16163053e2e2e55b (patch)
tree02944d878adc29800fffdf616bc7d378f9ba3cd5 /gdb/language.h
parentf290d38e06f4f311d4fe339e50afa3fd57fc1b4b (diff)
downloadbinutils-gdb-5a44ea29aea73cce2be45f6c16163053e2e2e55b.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.h')
-rw-r--r--gdb/language.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/language.h b/gdb/language.h
index 511c1cbe0ea..489ca238634 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -141,11 +141,11 @@ struct language_format_info
struct language_arch_info
{
- /* Its primative types. This is a vector ended by a NULL pointer.
+ /* Its primitive types. This is a vector ended by a NULL pointer.
These types can be specified by name in parsing types in
expressions, regardless of whether the program being debugged
actually defines such a type. */
- struct type **primative_type_vector;
+ struct type **primitive_type_vector;
/* Type of elements of strings. */
struct type *string_char_type;
};
@@ -153,7 +153,7 @@ struct language_arch_info
struct type *language_string_char_type (const struct language_defn *l,
struct gdbarch *gdbarch);
-struct type *language_lookup_primative_type_by_name (const struct language_defn *l,
+struct type *language_lookup_primitive_type_by_name (const struct language_defn *l,
struct gdbarch *gdbarch,
const char *name);