* dwarf2read.c (struct attribute): Move earlier.
authorDaniel Jacobowitz <drow@false.org>
Wed, 20 Aug 2008 20:12:24 +0000 (20:12 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 20 Aug 2008 20:12:24 +0000 (20:12 +0000)
commitb60c80d639c055a03fcb7def9feb62f2e6e3009f
treec6b577d18e1e415f03c598457b687367f3a84b34
parent51545339ac7cb71869b6e749c5d3cc2c15b3e12c
* dwarf2read.c (struct attribute): Move earlier.
(struct die_info): Change attrs to a trailing array.
(dwarf_alloc_die): Take the number of attributes.  Allocate space
for them.
(read_full_die): Update call to dwarf_alloc_die.  Do not manually
allocate attributes.
gdb/ChangeLog
gdb/dwarf2read.c