<dwarf>: iteration over attributes swallows the last one

Petr Machata pmachata at redhat.com
Thu Mar 26 00:48:26 UTC 2009


Roland McGrath wrote:
>> We do, that's the new end iterator condition.  offset==1 valp!=NULL is 
>> valid iterator pointing to the last element.
> 
> But valp==NULL is never a valid non-end iterator.

Ah, I didn't notice you talk about offset.  Right, we don't need offset 
check.

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/20090326/77dad5cc/attachment.bin 


More information about the elfutils-devel mailing list