<dwarf>: iteration over attributes swallows the last one
Petr Machata
pmachata at redhat.com
Wed Mar 25 14:30:06 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : https://fedorahosted.org/pipermail/elfutils-devel/attachments/20090325/2f00a2da/attachment.bin
More information about the elfutils-devel
mailing list