From 9d25dd43e87f2cb2b42920cd23616edf82ba4cf6 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Mon, 15 Sep 2008 15:32:01 +0000 Subject: [PATCH] * dwarf2read.c (struct abbrev_info): Make members name, form 16 bits. (struct attribute): Ditto. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2read.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a813027da73..9aa5285c244 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-09-15 Doug Evans + + * dwarf2read.c (struct abbrev_info): Make members name, form 16 bits. + (struct attribute): Ditto. + 2008-09-14 John David Anglin * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind_cache): Record diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index ee5160c914c..b8bd70d16c7 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; -- 2.30.2