This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Garbage collecting debug sections


On Mon, Mar 23, 2015 at 7:52 AM, Nicholas Clifton <nickc@redhat.com> wrote:
> Hi Senthil,
>
>>    However, it bails out after finding one such section (see attached
>>    patch). Is this intentional?
>
>
> No, it is a bug. :-(
>
> When I was writing this code I was only interested in fragmentary
> .debug_line sections, and I failed to take into account that their might be
> other partial debug sections.
>
> Please feel free to commit an "obvious" patch to remove the "break;" from
> that loop.

Please also add a testcase to show it is handled properly.

Thanks.


-- 
H.J.


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