On 07/20/2017 04:03 PM, Jim Wilson wrote: > On Thu, Jul 20, 2017 at 2:00 PM, Nathan Sidwell <nat...@acm.org> wrote: >> With this patch the gdb stabs test results are still awful, but they are >> unchanged awfulness. > > Yes, the stabs support for C++ is poor. That is one of the reasons > why almost everyone has switched to dwarf2. > > I wasn't sure what to make of your last message, so I tried to see if > I could build a toolchain that defaults to stabs so I could look at > this. I discovered that -freorder-functions doesn't work with stabs > on an elf target, Hmm, it's supposed to if we support named sections. But clearly the code has bit-rotted through the years. One more strike against stabs ;-)
> > I also noticed that there is a config/i386/gstabs.h file that has been > unused since the openbsd 2 and 3 support was removed last year, and > should be deleted. Pre-approved :-) > > Anyways, your new dbxout.c patch looks good. And maybe we should > think about deprecating the stabs support some day. Agreed. I think the biggest concern is AIX. jeff