svn commit: r251844 - head/contrib/gdb/gdb

Ed Maste emaste at FreeBSD.org
Mon Jun 17 12:49:26 UTC 2013


Author: emaste
Date: Mon Jun 17 12:49:26 2013
New Revision: 251844
URL: http://svnweb.freebsd.org/changeset/base/251844

Log:
  Include die tag in error message

Modified:
  head/contrib/gdb/gdb/dwarf2read.c

Modified: head/contrib/gdb/gdb/dwarf2read.c
==============================================================================
--- head/contrib/gdb/gdb/dwarf2read.c	Mon Jun 17 10:28:55 2013	(r251843)
+++ head/contrib/gdb/gdb/dwarf2read.c	Mon Jun 17 12:49:26 2013	(r251844)
@@ -6082,8 +6082,8 @@ tag_type_to_type (struct die_info *die, 
       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;
     }


More information about the svn-src-all mailing list