2002-11-25 David Carlton <carlton@math.stanford.edu>
[binutils.git] / gdb / dwarf2read.c
index b5ba7dc713d098c12bfabbef488222bcb19c8f31..25240d1739fbda332e2ef88ee1c6c0e7075c8e30 100644 (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)
            {
This page took 0.030224 seconds and 4 git commands to generate.