On Thu, Aug 22, 2002 at 01:35:50PM -0700, David Carlton wrote:
I've figured out what caused the regression that I turned up in PR
gdb/653; here's a patch that fixes it.
David Carlton
carlton@math.stanford.edu
2002-08-22 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (dwarf2_add_member_fn): Add back in the type
argument that was deleted on 2002-06-14: it was needed after all,
as PR gdb/653 demonstrates. Update call to smash_to_method_type.
(read_structure_scope): Update call to dwarf2_add_member_fn.
Can you explain why this is necessary? I could not find any path to
that point where type != die->type.
Just a general reminder for people comming up with patches.