]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix comment in last commit.
authorDavid Carlton <carlton@bactrian.org>
Mon, 15 Dec 2003 21:28:54 +0000 (21:28 +0000)
committerDavid Carlton <carlton@bactrian.org>
Mon, 15 Dec 2003 21:28:54 +0000 (21:28 +0000)
gdb/dwarf2read.c

index a42144bb14569009478dc06ad1fb9df274c67ea7..33146a899ee1cccb9cf4129ecdf52201ae27d191 100644 (file)
@@ -2573,10 +2573,12 @@ get_scope_pc_bounds (struct die_info *die,
          case DW_TAG_namespace:
            /* FIXME: carlton/2003-12-15: Should we do this for
               DW_TAG_class_type/DW_TAG_structure_type, too?  I think
-              that current GCC's always generate the DIEs
-              corresponding to definitions methods of classes at
-              namespace scope, but I don't see any reason why they
-              have to.  */
+              that current GCC's always emit the DIEs corresponding
+              to definitions of methods of classes as children of a
+              DW_TAG_compile_unit or DW_TAG_namespace (as opposed to
+              the DIEs giving the declarations, which could be
+              anywhere).  But I don't see any reason why they have to
+              be there.  */
            get_scope_pc_bounds (child, &current_low, &current_high,
                                 objfile, cu_header);