This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] DWARF support for AIX v4
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 24 Sep 2015 15:02:07 -0400
- Subject: Re: [PATCH] DWARF support for AIX v4
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvnymx60pqzK9HmAet9wD0qEXEXS8stCcho_E-244t5zzhNg at mail dot gmail dot com> <560428D4 dot 1060400 at redhat dot com> <CAGWvnyktu8DQfasUgSf9b7Ev_4AKSq4Y1fmcZomz6grxTV7p_A at mail dot gmail dot com> <560445B0 dot 8000100 at redhat dot com>
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