Browse Source

* dwarf2read.c (read_structure_scope): Correct overzealous

addition of cu_header argument.
binutils-2_11-branch
Jim Blandy 26 years ago
parent
commit
8713b1b135
  1. 2
      gdb/dwarf2read.c

2
gdb/dwarf2read.c

@ -2220,7 +2220,7 @@ read_structure_scope (struct die_info *die, struct objfile *objfile,
/* C++ static member. */
dwarf2_add_field (&fi, child_die, objfile, cu_header);
}
else if (child_die->tag == DW_TAG_subprogram, cu_header)
else if (child_die->tag == DW_TAG_subprogram)
{
/* C++ member function. */
process_die (child_die, objfile, cu_header);

Loading…
Cancel
Save