aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2010-09-09 16:42:39 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2010-09-09 16:42:39 +0000
commit6afafb5482bce85fc771c6f2d2c01bca136a1719 (patch)
tree08ca59ce6851457d950115ae77864299445a69e2 /gdb/dwarf2read.c
parent0f72bf6f74f8fbd07abc144ff73ac2c4d3418ecf (diff)
downloadgdb-6afafb5482bce85fc771c6f2d2c01bca136a1719.zip
gdb-6afafb5482bce85fc771c6f2d2c01bca136a1719.tar.gz
gdb-6afafb5482bce85fc771c6f2d2c01bca136a1719.tar.bz2
* dwarf2read.c (fixup_partial_die): Do not set dummy name for
anonymous class partial DIEs.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index f727c9d..d7691cb 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)";