Blob Blame History Raw
commit 13c01b864f2aa278760ef69c25b0df9f043c7bf0
Author: Martin Cermak <mcermak@redhat.com>
Date:   Wed Mar 8 03:22:24 2017 -0500

    Drop DW_TAG_mutable_type from dwarf_tag_names initialization.
    
    DW_TAG_mutable_type has been dropeed from libdw/dwarf.h:
    
    =======
    commit af1e6ed9b4c0160a6a5c6f59d9443ae4f6f20a14
    Author: Mark Wielaard <mjw@redhat.com>
    Date:   Wed Jun 18 10:57:58 2014 +0200
    
    	dwarf.h: Remove non-existing DW_TAG_mutable_type.
    
    	The DW_TAG_mutable_type was only mentioned in an early draft of DWARFv3.
    	But was removed because there are no C++ mutable qualified types. It was
    	replaced by a new attribute DW_AT_mutable on DW_TAG_member DIEs. The new
    	attribute is available in dwarf.h.
    	http://dwarfstd.org/ShowIssue.php?issue=050223.1
    
    	DW_TAG_mutable_type was only used internally in some backends (which
    	just ignored it anyway).  dwarves did use it to turn it into a string
    	value, libabigail used it and ignored it (patches to remove sent).
    	GCC, GDB and binutils don't use nor define it.
    
    	Signed-off-by: Mark Wielaard <mjw@redhat.com>
    =======

diff --git a/dwarves_fprintf.c b/dwarves_fprintf.c
index 05b846d..b0ad81a 100644
--- a/dwarves_fprintf.c
+++ b/dwarves_fprintf.c
@@ -74,7 +74,7 @@ static const char *dwarf_tag_names[] = {
 	[DW_TAG_unspecified_type]	  = "unspecified_type",
 	[DW_TAG_partial_unit]		  = "partial_unit",
 	[DW_TAG_imported_unit]		  = "imported_unit",
-	[DW_TAG_mutable_type]		  = "mutable_type",
+//	[DW_TAG_mutable_type]		  = "mutable_type",
 	[DW_TAG_condition]		  = "condition",
 	[DW_TAG_shared_type]		  = "shared_type",
 #ifdef STB_GNU_UNIQUE