[Bug debug/48176] New: .debug_aranges is no longer emitted

jan.kratochvil at redhat dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 18 06:09:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48176

           Summary: .debug_aranges is no longer emitted
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jan.kratochvil@redhat.com
            Target: x86_64-unknown-linux-gnu


echo 'main(){}' | gcc -x c - -g; readelf -WS a.out | grep debug_aranges

PASS - exists         - gcc (GCC) 4.5.3 20110318 (prerelease)
FAIL - does not exist - gcc (GCC) 4.7.0 20110318 (experimental)

elfutils relies on it:
https://bugzilla.redhat.com/show_bug.cgi?id=688532

Although GDB has never relied on it so there was a suggestion it could be
dropped in the favor of .gdb_index (generated and used by GDB itself).



More information about the Gcc-bugs mailing list