[PATCH] DWARF support for AIX v4
Fri Sep 25 00:18:00 GMT 2015
On Thu, Sep 24, 2015 at 4:05 PM, Richard Henderson <email@example.com> wrote:
>> If the assembler and linker generate errors, it further
>> delays deployment in GCC.
> If the assembler generates errors, then surely it's easy to error out at
> configure time, printing a note about the service pack.
> So, assuming this is true, when configuring for aix7.1,
> * configure --without-dwarf2 disables support for dwarf2 entirely,
> avoiding problems with any missing SP. Presumably by *not* including
> * configure checks as/ld as required, erroring out if the SP isn't present;
> dwarf2out always emits all of the usual dwarf data.
> Sound good?
Older assemblers produce an error when presented with the new sections.
I was planning to commit the current patch, which is supported by AIX
7.1. And follow up with another patch that adds a configure test for
the additional sections support (HAVE_XCOFF_DWARF_EXTRA?) to tweak the
output. As you mentioned, the minimal sections should allow debugging
with -O0 -g2, which is equivalent to the stabs functionality.
More information about the Gcc-patches