+2010-03-15 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (die_needs_namespace): Also return 0 for
+ DW_TAG_subprogram.
+
2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
PR c++/7936:
and have a mangled name. */
if (die->parent->tag == DW_TAG_lexical_block
|| die->parent->tag == DW_TAG_try_block
- || die->parent->tag == DW_TAG_catch_block)
+ || die->parent->tag == DW_TAG_catch_block
+ || die->parent->tag == DW_TAG_subprogram)
return 0;
return 1;