PING: [debug] PR42288 emit empty .debug_aranges section

Mark Wielaard mjw@redhat.com
Tue May 3 09:40:00 GMT 2011


On Tue, 2011-04-26 at 11:10 +0200, Mark Wielaard wrote:
> This PR was put on hold for a while since gdb didn't immediately need
> it. But the consensus seemed that it was a good idea to always output
> the address ranges (.debug_arange section) information if a CU
> (.debug_info section) was emitted. Because the consumer has no way to
> tell the difference between an empty table that we omitted and failure
> to generate a table that would have contained data. We recently
> discussed this again (see PR), and it still seems like a good thing. So
> here it a patch to just do that:
> 
> 2011-04-26  Mark Wielaard  <mjw@redhat.com>
> 
>     PR42288
>     * dwarf2out.c (dwarf2out_finish): Always call output_aranges ()
>     when info_section_emitted.
> 
> Tested on i686-pc-linux-gnu, no changes in test results.

Ping.

Thanks,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aranges.patch
Type: text/x-patch
Size: 1217 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110503/d0c83ad0/attachment.bin>


More information about the Gcc-patches mailing list