Follow up to stabs deprecation - AIX regressions

Kevin Buettner kevinb@redhat.com
Thu Feb 13 17:43:21 GMT 2025


On Thu, 13 Feb 2025 14:21:01 -0300
Guinevere Larsen <guinevere@redhat.com> wrote:

> On 2/13/25 1:48 PM, Kevin Buettner wrote:
> > On Thu, 13 Feb 2025 09:25:44 -0300
> > Guinevere Larsen <guinevere@redhat.com> wrote:
> >  
> >> * DWARF reading can sometimes fail in AIX. Currently, reading dwarf for
> >> xcoff inferiors is called on it's own, with no warning if dwarf fails
> >> (which probably makes sense, considering the default format in aix is
> >> still stabs). I added a warning when failing to read dwarf and noticed
> >> it being triggered on inferiors compiled with -gdwarf  
>
> > I assume that you mean that stabs is the default when compiling with
> > gcc.  Is stabs still also the default format for XLC (IBM Open XL C/C++) ?  
> 
> Yes, sorry, I meant gcc. The compile farm had versions 10 and 12, both 
> with the same behavior.
> 
> I don't think the compile farm has XLC compilers available for testing, 
> or if they do I don't know how to use it, so I couldn't tell you...

I think it'd be good to find out XLC's preferred debug format.  If it
uses/prefers DWARF, that'd be a good argument for gcc (on AIX)
switching to DWARF for it's preferred format too.

Kevin



More information about the Gdb-patches mailing list