* dwarf2read.c (fixup_partial_die): Do not set dummy name for
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 9 Sep 2010 16:42:39 +0000 (16:42 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 9 Sep 2010 16:42:39 +0000 (16:42 +0000)
anonymous class partial DIEs.

gdb/ChangeLog
gdb/dwarf2read.c

index ece5ab70dc8929d940cfe1d09be66fd23561e299..63358faedf5f72825c4d49af78b48538b5179f1d 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dwarf2read.c (fixup_partial_die): Do not set dummy name for
+       anonymous class partial DIEs.
+
 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * dwarf2read.c (dwarf2_compute_name): Check that the first
index f727c9dd3f6cdc6374734afbdf1ad28cecf93fcc..d7691cb5cabf9b88107fa6b17370be29d00c9c32 100644 (file)
@@ -9009,9 +9009,6 @@ fixup_partial_die (struct partial_die_info *part_die,
     }
 
   /* Set default names for some unnamed DIEs.  */
-  if (part_die->name == NULL && (part_die->tag == DW_TAG_structure_type
-                                || part_die->tag == DW_TAG_class_type))
-    part_die->name = "(anonymous class)";
 
   if (part_die->name == NULL && part_die->tag == DW_TAG_namespace)
     part_die->name = "(anonymous namespace)";