* dwarf2read.c (read_array_type): Set the type name if the name
attribute is present.
This commit is contained in:
parent
12e14209f0
commit
714e295ef0
|
@ -1,3 +1,8 @@
|
||||||
|
2006-10-06 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
|
* dwarf2read.c (read_array_type): Set the type name if the name
|
||||||
|
attribute is present.
|
||||||
|
|
||||||
2006-10-05 Joel Brobecker <brobecker@adacore.com>
|
2006-10-05 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* blockframe.c (block_innermost_frame): Rewrite frame search logic.
|
* blockframe.c (block_innermost_frame): Rewrite frame search logic.
|
||||||
|
|
|
@ -4282,6 +4282,10 @@ read_array_type (struct die_info *die, struct dwarf2_cu *cu)
|
||||||
if (attr)
|
if (attr)
|
||||||
TYPE_FLAGS (type) |= TYPE_FLAG_VECTOR;
|
TYPE_FLAGS (type) |= TYPE_FLAG_VECTOR;
|
||||||
|
|
||||||
|
attr = dwarf2_attr (die, DW_AT_name, cu);
|
||||||
|
if (attr && DW_STRING (attr))
|
||||||
|
TYPE_NAME (type) = DW_STRING (attr);
|
||||||
|
|
||||||
do_cleanups (back_to);
|
do_cleanups (back_to);
|
||||||
|
|
||||||
/* Install the type in the die. */
|
/* Install the type in the die. */
|
||||||
|
|
Loading…
Reference in New Issue