From 6afafb5482bce85fc771c6f2d2c01bca136a1719 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Thu, 9 Sep 2010 16:42:39 +0000 Subject: [PATCH] * dwarf2read.c (fixup_partial_die): Do not set dummy name for anonymous class partial DIEs. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2read.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ece5ab70dc8..63358faedf5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-09-09 Ulrich Weigand + + * dwarf2read.c (fixup_partial_die): Do not set dummy name for + anonymous class partial DIEs. + 2010-09-08 Daniel Jacobowitz * dwarf2read.c (dwarf2_compute_name): Check that the first diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index f727c9dd3f6..d7691cb5cab 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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)"; -- 2.30.2