Include die tag in error message

This commit is contained in:
Ed Maste 2013-06-17 12:49:26 +00:00
parent 2a3e3873a1
commit 80fae82753

View File

@ -6082,8 +6082,8 @@ tag_type_to_type (struct die_info *die, struct dwarf2_cu *cu)
if (!die->type)
{
dump_die (die);
error ("Dwarf Error: Cannot find type of die [in module %s]",
cu->objfile->name);
error ("Dwarf Error: Cannot find type of die 0x%x [in module %s]",
die->tag, cu->objfile->name);
}
return die->type;
}