diff options
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index a42144b..33146a8 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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, ¤t_low, ¤t_high, objfile, cu_header); |