This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: <dwarf>: iteration over attributes swallows the last one


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]