This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: AIX DWARF debugging sections
- From: Doug Evans <dje at google dot com>
- To: David Edelsohn <dje dot gcc at gmail dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, Tristan Gingold <gingold at adacore dot com>, GDB Patches <gdb-patches at sourceware dot org>
- Date: Mon, 5 Oct 2015 17:29:51 -0700
- 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>
On Fri, Oct 2, 2015 at 3:35 PM, David Edelsohn <dje.gcc@gmail.com> wrote:
> On Fri, Oct 2, 2015 at 5:32 PM, Joel Brobecker <brobecker@adacore.com> wrote:
>>> > On 25 Sep 2015, at 16:53, David Edelsohn <dje.gcc@gmail.com> wrote:
>>> >
>>> > Initial AIX support for DWARF did not include location lists, debug
>>> > frame, and macinfo. Support was added in a later update.
>>> >
>>> > xcoffread defines most of the sections -- including some that were
>>> > included later and omitting some that were included in the initial
>>> > implementation.
>>> >
>>> > Does anyone know why pbtyp and mac are not define?
>>>
>>> AFAIK, .debug_pubtypes are not read by gdb.
>>>
>>> > I'm not sure if
>>> > AIX .dwamac is macinfo or macro or both.
>>> >
>>> > Thanks, David
>>>
>>> Your patch looks ok to me, but should be approved by
>>> a global maintainer.
>>
>> It looks odd to me that two entries would have the same name.
>> Wouldn't it cause GDB to decode the same section both as .debug_macinfo
>> and .debug_macro?
>
> 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.