[PATCH] Temporarily revert Steven's PCH changes for 4.8 (PR pch/54117)

David Edelsohn dje.gcc@gmail.com
Thu Feb 14 13:28:00 GMT 2013


On Thu, Feb 14, 2013 at 8:21 AM, Tristan Gingold <gingold@adacore.com> wrote:
>
> On Feb 14, 2013, at 12:26 PM, Steven Bosscher wrote:
>
>> On Wed, Feb 13, 2013 at 10:33 PM, David Edelsohn wrote:
>>> The AIX system supports DWARF debugging, but GCC does not generate it
>>> on AIX and GDB does not consume it on AIX.
>>
>> Is there a description for what has to be done in GCC to enable DWARF
>> with AIX as/ld? E.g. is it required to support the ".dwsect" pseudo?
>> Is there already a plan from someone to make GCC produce DWARF on
>> AIX7?
>
> Yes, you need to support the .dwsect pseudo (which is basically a dedicated
> pseudo like .section, but also includes section length).
>
> But note that .dwsect only allows a subset of all dwarf sections.

AIX 6 and maybe even AIX 5.3 support DWARF.

Because AIX uses XCOFF file format, not ELF, it had to fit DWARF
support into the XCOFF design.

>> AFAICT, for gcc+gas it should already work with binutils that include
>> the AdaCore patch for DWARF support. But this has apparently not been
>> tested with AIX ld, and there are AdaCore local patches pending.
>> http://sourceware.org/ml/binutils/2011-04/msg00250.html
>> http://www.sourceware.org/ml/gdb/2013-01/msg00030.html
>
> Yes.

What is the status of merging Adacore's patches for DWARF support on AIX?

Thanks, David



More information about the Gcc-patches mailing list