* gdbtypes.c (arch_flags_type): Fix comment.
authorDoug Evans <dje@google.com>
Thu, 14 Jan 2010 18:58:57 +0000 (18:58 +0000)
committerDoug Evans <dje@google.com>
Thu, 14 Jan 2010 18:58:57 +0000 (18:58 +0000)
* gdbtypes.h (arch_composite_type): Fix comment.

gdb/ChangeLog
gdb/gdbtypes.c
gdb/gdbtypes.h

index 7dcc641..8ed5d3b 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-14  Doug Evans  <dje@google.com>
+
+       * gdbtypes.c (arch_flags_type): Fix comment.
+       * gdbtypes.h (arch_composite_type): Fix comment.
+
 2009-01-14  Tristan Gingold  <gingold@adacore.com>
 
        * machoread.c (macho_add_oso_symfile): Add symfile_flags parameter.
index 6a01aeb..16b34ca 100644 (file)
@@ -3157,7 +3157,7 @@ arch_complex_type (struct gdbarch *gdbarch,
 }
 
 /* Allocate a TYPE_CODE_FLAGS type structure associated with GDBARCH.
-   NAME is the type name.  LENGTH is the number of flag bits.  */
+   NAME is the type name.  LENGTH is the size of the flag word in bytes.  */
 struct type *
 arch_flags_type (struct gdbarch *gdbarch, char *name, int length)
 {
index f329b1e..8e73ca0 100644 (file)
@@ -1263,7 +1263,7 @@ extern struct type *arch_complex_type (struct gdbarch *, char *,
 
 /* Helper functions to construct a struct or record type.  An
    initially empty type is created using arch_composite_type().
-   Fields are then added using append_struct_type_field().  A union
+   Fields are then added using append_composite_type_field*().  A union
    type has its size set to the largest field.  A struct type has each
    field packed against the previous.  */