This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AIX DWARF debugging sections


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]