20#ifndef GDB_DWARF2_DIE_H
21#define GDB_DWARF2_DIE_H
35 static hashval_t
hash (
const void *item);
39 static int eq (
const void *item_lhs,
const void *item_rhs);
44 void dump (
int max_level);
68 if (
attrs[i].form_is_unsigned ())
73 complaint (_(
"address base attribute (offset %s) as wrong form"),
76 return gdb::optional<ULONGEST> ();
85 if (
attrs[i].
name == DW_AT_GNU_ranges_base)
87 if (
attrs[i].form_is_unsigned ())
90 complaint (_(
"ranges base attribute (offset %s) has wrong form"),
102 if (
attrs[i].
name == DW_AT_rnglists_base)
104 if (
attrs[i].form_is_unsigned ())
107 complaint (_(
"rnglists base attribute (offset %s) has wrong form"),
115 ENUM_BITFIELD(dwarf_tag)
tag : 16;
#define complaint(FMT,...)
ULONGEST as_unsigned() const
static die_info * allocate(struct obstack *obstack, int num_attrs)
unsigned char building_fullname
struct attribute attrs[1]
struct attribute * attr(dwarf_attribute name)
ULONGEST gnu_ranges_base()
static int eq(const void *item_lhs, const void *item_rhs)
unsigned char has_children
__extension__ enum dwarf_tag tag
struct die_info * sibling
static hashval_t hash(const void *item)
gdb::optional< ULONGEST > addr_base()
static char * sect_offset_str(sect_offset offset)