This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: AIX DWARF debugging sections
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Doug Evans <dje at google dot com>, Tristan Gingold <gingold at adacore dot com>, GDB Patches <gdb-patches at sourceware dot org>
- Date: Tue, 6 Oct 2015 12:55:27 -0400
- Subject: Re: AIX DWARF debugging sections
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvnynk4jNchyUNitvTwD1Tq5t4geJvNTg1ALZsMdRYQx6Etg at mail dot gmail dot com> <E9A58816-DE48-4BD2-84D9-90C2D3723D5F at adacore dot com> <20151002213227 dot GA3602 at adacore dot com> <CAGWvnyk5YtqV=kjDa=MVJup7wdt2s=BdADAVAvg+D9rp9ihxfA at mail dot gmail dot com> <CADPb22RhyhWrxLu2vy-TOp7ua97BWBJ6Loa9puoSFiYZq82NBg at mail dot gmail dot com> <20151006165157 dot GA3341 at adacore dot com>
On Tue, Oct 6, 2015 at 12:51 PM, Joel Brobecker <brobecker@adacore.com> wrote:
>> > Because the AIX section does not use the standard name, I am unsure
>> > which it represents. The documentation only states "dwmac", which
>> > could expand to either name.
>> >
>> > Thanks, David
>>
>> Yeah, I think we need to figure out which one it is.
>
> That's what I have been trying to do, but I don't see any evidence
> that GCC emits it, or that binutils handles it. So the answer must
> lie somewhere on the system side. David?
GCC emits it when -g3 is enabled. Ldebug_macinfo vs Ldebug_macro is
controlled by dwarf_strict. The current GCC support for DWARF in AIX
uses the same section name for both.
I am asking the XLC team what they produce for the section.
Thanks, David