2002-11-25 David Carlton <carlton@math.stanford.edu>

* dwarf2read.c (scan_partial_symbols): Descend into namespace
	pdi's with no name.
This commit is contained in:
David Carlton 2002-11-25 22:01:39 +00:00
parent d12e3de5e4
commit 933c6fe40c
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-11-25 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (scan_partial_symbols): Descend into namespace
pdi's with no name.
2002-11-25 Andrew Cagney <ac131313@redhat.com>
* MAINTAINERS: Mark h8500 as broken. Breakage occured Fri Nov 5

View File

@ -1359,7 +1359,9 @@ scan_partial_symbols (char *info_ptr, struct objfile *objfile,
{
info_ptr = read_partial_die (&pdi, abfd, info_ptr, cu_header);
if (pdi.name)
/* Anonymous namespaces have no name but are interesting. */
if (pdi.name != NULL || pdi.tag == DW_TAG_namespace)
{
switch (pdi.tag)
{