aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2008-09-15 15:32:01 +0000
committerDoug Evans <dje@google.com>2008-09-15 15:32:01 +0000
commit9d25dd43e87f2cb2b42920cd23616edf82ba4cf6 (patch)
tree6299543a1269940f1ccfd0f8cfe722562523aa24 /gdb/dwarf2read.c
parentf42fb57409240f97fe271dcd4518345fb7652df5 (diff)
downloadgdb-9d25dd43e87f2cb2b42920cd23616edf82ba4cf6.zip
gdb-9d25dd43e87f2cb2b42920cd23616edf82ba4cf6.tar.gz
gdb-9d25dd43e87f2cb2b42920cd23616edf82ba4cf6.tar.bz2
* dwarf2read.c (struct abbrev_info): Make members name, form 16 bits.
(struct attribute): Ditto.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c8
1 files changed, 4 insertions, 4 deletions
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;