Garbage collecting debug sections

H.J. Lu hjl.tools@gmail.com
Mon Mar 23 14:56:00 GMT 2015


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.



More information about the Binutils mailing list