diff options
author | Doug Evans <dje@google.com> | 2010-01-14 18:58:57 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-01-14 18:58:57 +0000 |
commit | eb90ce8316bcd2a879cef0596b4272c2b1e1ddc3 (patch) | |
tree | 2b752842f223463e95beed1dd341b3efb24f0e4a | |
parent | b9733481ab2972c94b458fce96eb1c63754030c6 (diff) | |
download | ppe42-binutils-eb90ce8316bcd2a879cef0596b4272c2b1e1ddc3.tar.gz ppe42-binutils-eb90ce8316bcd2a879cef0596b4272c2b1e1ddc3.zip |
* gdbtypes.c (arch_flags_type): Fix comment.
* gdbtypes.h (arch_composite_type): Fix comment.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbtypes.c | 2 | ||||
-rw-r--r-- | gdb/gdbtypes.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7dcc6418cc..8ed5d3bf16 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 6a01aeb736..16b34ca55a 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -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) { diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index f329b1e94c..8e73ca0f09 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -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. */ |