2005-02-21 Fred Fish <fnf@specifixinc.com>
* dwarf2.c (find_abstract_instance_name): Call recursively
to handle a DW_AT_specification.
+2005-02-21 Fred Fish <fnf@specifixinc.com>
+
+ * dwarf2.c (find_abstract_instance_name): Call recursively
+ to handle a DW_AT_specification.
+
2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* elfxx-mips.c (ecoff_swap_rpdr_out, mips_elf_output_extsym,
for (i = 0; i < abbrev->num_attrs && !name; ++i)
{
info_ptr = read_attribute (&attr, &abbrev->attrs[i], unit, info_ptr);
- if (attr.name == DW_AT_name)
- name = attr.u.str;
+ switch (attr.name)
+ {
+ case DW_AT_name:
+ name = attr.u.str;
+ break;
+ case DW_AT_specification:
+ name = find_abstract_instance_name (unit, attr.u.val);
+ break;
+ default:
+ break;
+ }
}
}
}