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 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?

The official answer from IBM XLC is the section is for both
.debug_macinfo and .debug_macro

For DWARF4 and below, the dwmac section corresponds to .debug_macinfo.
For DWARF5 and above, the dwmac section corresponds to .debug_macro.

XLC currently does not generate any macro debugging information for DWARF4.

- David


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