Re: AIX DWARF debugging sections

Joel Brobecker
2015-10-02T21:32:32Z

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

--
Joel