PR symtab/11465:
authorKeith Seitz <keiths@redhat.com>
Fri, 20 Aug 2010 17:16:44 +0000 (17:16 +0000)
committerKeith Seitz <keiths@redhat.com>
Fri, 20 Aug 2010 17:16:44 +0000 (17:16 +0000)
commit3da10d80f8da9ea96493eda226136221a9209c10
tree5bef706a1116b895c96765af061a79e0315f0016
parentc37bf5283731a82e13a75a30762eaba820c165fd
PR symtab/11465:
  * dwarf2read.c (struct delayed_method_info): New struct.
(struct dwarf2_cu): Add vector method_list.
(scan_partial_symbols): Count methods for union, class, structure,
and interface types.
(add_to_method_list): New function.
(free_delayed_list): New function.
(compute_delayed_physnames): New function.
(process_full_comp_unit): Make a cleanup for the CU's delayed
physname list, compute the delayed physnames, and free the
the list.
(dwarf2_add_member_fn): For C++ and Java, delay the computation
of the physname until after the CU is read.

* dwarf2read.c (read_structure_type): Check if the current
DIE's type was already completed after dwarf2_full_name
was called.
gdb/ChangeLog
gdb/dwarf2read.c