summaryrefslogtreecommitdiffstats
path: root/contrib/gdb
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-06-17 12:49:26 +0000
committeremaste <emaste@FreeBSD.org>2013-06-17 12:49:26 +0000
commit13a7aa411fc08dbb96571b21c54bfa42014d0b13 (patch)
treedc1b5a7df21bc9da82e63ec0951caa0c4b18e05c /contrib/gdb
parent417e87f740ac4d85234428776a69e163d33517bd (diff)
downloadFreeBSD-src-13a7aa411fc08dbb96571b21c54bfa42014d0b13.zip
FreeBSD-src-13a7aa411fc08dbb96571b21c54bfa42014d0b13.tar.gz
Include die tag in error message
Diffstat (limited to 'contrib/gdb')
-rw-r--r--contrib/gdb/gdb/dwarf2read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gdb/gdb/dwarf2read.c b/contrib/gdb/gdb/dwarf2read.c
index 72f5dde..852172b 100644
--- a/contrib/gdb/gdb/dwarf2read.c
+++ b/contrib/gdb/gdb/dwarf2read.c
@@ -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;
}
OpenPOWER on IntegriCloud