[Midnightbsd-cvs] src [7787] trunk/contrib/gdb/gdb/dwarf2read.c: Include die tag in error message

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 5 12:33:03 EDT 2016


Revision: 7787
          http://svnweb.midnightbsd.org/src/?rev=7787
Author:   laffer1
Date:     2016-09-05 12:33:03 -0400 (Mon, 05 Sep 2016)
Log Message:
-----------
Include die tag in error message

Obtained from: FreeBSD SVN 256854

Modified Paths:
--------------
    trunk/contrib/gdb/gdb/dwarf2read.c

Modified: trunk/contrib/gdb/gdb/dwarf2read.c
===================================================================
--- trunk/contrib/gdb/gdb/dwarf2read.c	2016-09-05 16:32:04 UTC (rev 7786)
+++ trunk/contrib/gdb/gdb/dwarf2read.c	2016-09-05 16:33:03 UTC (rev 7787)
@@ -6079,8 +6079,8 @@
       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 Midnightbsd-cvs mailing list