diff options
author | Doug Evans <dje@google.com> | 2008-09-15 15:32:01 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2008-09-15 15:32:01 +0000 |
commit | 9d25dd43e87f2cb2b42920cd23616edf82ba4cf6 (patch) | |
tree | 6299543a1269940f1ccfd0f8cfe722562523aa24 | |
parent | f42fb57409240f97fe271dcd4518345fb7652df5 (diff) | |
download | gdb-9d25dd43e87f2cb2b42920cd23616edf82ba4cf6.zip gdb-9d25dd43e87f2cb2b42920cd23616edf82ba4cf6.tar.gz gdb-9d25dd43e87f2cb2b42920cd23616edf82ba4cf6.tar.bz2 |
* dwarf2read.c (struct abbrev_info): Make members name, form 16 bits.
(struct attribute): Ditto.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a813027..9aa5285 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-09-15 Doug Evans <dje@google.com> + + * dwarf2read.c (struct abbrev_info): Make members name, form 16 bits. + (struct attribute): Ditto. + 2008-09-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind_cache): Record diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index ee5160c..b8bd70d 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -513,15 +513,15 @@ struct abbrev_info struct attr_abbrev { - enum dwarf_attribute name; - enum dwarf_form form; + ENUM_BITFIELD(dwarf_attribute) name : 16; + ENUM_BITFIELD(dwarf_form) form : 16; }; /* Attributes have a name and a value */ struct attribute { - enum dwarf_attribute name; - enum dwarf_form form; + ENUM_BITFIELD(dwarf_attribute) name : 16; + ENUM_BITFIELD(dwarf_form) form : 16; union { char *str; |