Roland McGrath wrote:
> As a fix for that, I propose to consider also NULL-ness of
_m_attr.value
> when doing the iterator comparison.
I think you can just do valp == valp comparison and drop the offset
comparison. The pointers will match when the offsets match, and two NULLs
are two end iterators.
Can you also please write a test case for this? I'd guess a trivial program
using .to_string () does it since the busted iterator is used by that.
The changes that you requested, and the testcase, are on pmachata/dwarf.
PM