[PATCH] DWARF support for AIX v4

David Edelsohn dje.gcc@gmail.com
Thu Sep 24 20:28:00 GMT 2015


On Thu, Sep 24, 2015 at 2:49 PM, Richard Henderson <rth@redhat.com> wrote:
> On 09/24/2015 11:40 AM, David Edelsohn wrote:
>> Good news: AIX added support for the initially missing DWARF sections.
>
> Yay!
>
>> Bad news: The support is in an AIX service pack whose presence on a
>> system requires effort to determine.
>
> Boo!
>
> Well, we've had worse problems with Solaris in the past.  We should certainly
> put a note about the service pack in the installation instructions.
>
> Is it reasonable to require the service pack be installed before making use of
> any of this?  My thinking is that, without location lists, anything except -O0
> -g2 is going to be unusable, since most local variables will no longer have any
> location data.  At which point you might as well just stick with xcoff
> debugging, yes?

I agree that debugging without location lists is fairly useless.  I
need to find out what happens without the AIX service packs.  If the
assembler and linker pass the sections with the additional numbers
through and older DBX doesn't know about the sections, it doesn't
matter.  If the assembler and linker generate errors, it further
delays deployment in GCC.

Thanks, David



More information about the Gcc-patches mailing list