Re: Deprecate DBX/stabs?

2017-07-25 Thread Richard Biener
On Fri, Jul 21, 2017 at 4:15 PM, David Edelsohn wrote: >> Nathan Sidwell writes: > >> Let's at least deprecate it. I attach a patch to do so. With the >> patch, you'll get a note about dbx being deprecated whenever you use >> stabs debugging on a system that prefers stabs

Re: Deprecate DBX/stabs?

2017-07-21 Thread JonY
On 07/21/2017 01:07 PM, Nathan Sidwell wrote: > [darwin, cygwin, rx maintainers, you might have an opinion] > Let's at least deprecate it. I attach a patch to do so. With the > patch, you'll get a note about dbx being deprecated whenever you use > stabs debugging on a system that prefers stabs

Re: Deprecate DBX/stabs?

2017-07-21 Thread Iain Sandoe
> On 21 Jul 2017, at 20:54, Jim Wilson wrote: > > On Fri, Jul 21, 2017 at 12:44 PM, Iain Sandoe wrote: >> It ought to be already, in fact anything (powerpc*/x86/x86-64) >= Darwin9 >> (OS X 10.5) ought to be defaulting to DWARF already, will check

Re: Deprecate DBX/stabs?

2017-07-21 Thread Jim Wilson
On Fri, Jul 21, 2017 at 12:44 PM, Iain Sandoe wrote: > It ought to be already, in fact anything (powerpc*/x86/x86-64) >= Darwin9 (OS > X 10.5) ought to be defaulting to DWARF already, will check that sometime. Yes, they do default to dwarf2. The comments say pre-darwin9

Re: Deprecate DBX/stabs?

2017-07-21 Thread Iain Sandoe
> On 21 Jul 2017, at 20:10, Mike Stump wrote: > > On Jul 21, 2017, at 6:07 AM, Nathan Sidwell wrote: >> >> [Darwin, cygwin, rx maintainers, you might have an opinion] > > darwin going forward is a DWARF platform, so, shouldn't be a heartache for > real

Re: Deprecate DBX/stabs?

2017-07-21 Thread Mike Stump
On Jul 21, 2017, at 9:03 AM, Jim Wilson wrote: > There is also the matter of SDB_DEBUG which is still supported, and is > no longer used by anyone, as we have already deprecated all of the > COFF targets that were using it. SDB support for C++ is even worse > than the DBX

Re: Deprecate DBX/stabs?

2017-07-21 Thread Mike Stump
On Jul 21, 2017, at 6:07 AM, Nathan Sidwell wrote: > > [darwin, cygwin, rx maintainers, you might have an opinion] darwin going forward is a DWARF platform, so, shouldn't be a heartache for real folks. For ancient machines, ancient compilers might be a requirement.

Re: Deprecate DBX/stabs?

2017-07-21 Thread Jim Wilson
On Fri, Jul 21, 2017 at 7:15 AM, David Edelsohn wrote: > AIX still uses DBX as the primary debugging format. AIX supports > DWARF but the AIX toolchain does not fully interoperate with DWARF > generated by GCC. We could still deprecate DBX_DEBUG while leaving XCOFF_DEBUG

Re: Deprecate DBX/stabs?

2017-07-21 Thread David Edelsohn
> Nathan Sidwell writes: > Let's at least deprecate it. I attach a patch to do so. With the > patch, you'll get a note about dbx being deprecated whenever you use > stabs debugging on a system that prefers stabs (thus both -g and -gstabs > will warn). On systems where stabs is not

Re: Deprecate DBX/stabs?

2017-07-21 Thread Nathan Sidwell
On 07/21/2017 09:16 AM, Richard Biener wrote: On Fri, Jul 21, 2017 at 3:07 PM, Nathan Sidwell wrote: +#ifndef DBX_DEBBUG_OK ^^^ typo? The patch doesn't define this anywhere - I suggest to add it to defaults.h as 0 and use #if? Also would need

Re: Deprecate DBX/stabs?

2017-07-21 Thread Richard Biener
On Fri, Jul 21, 2017 at 3:07 PM, Nathan Sidwell wrote: > [darwin, cygwin, rx maintainers, you might have an opinion] > > On 07/21/2017 01:11 AM, Richard Biener wrote: >> >> On July 21, 2017 12:03:58 AM GMT+02:00, Jim Wilson >> wrote: >>> >>> On Thu, Jul 20,

Deprecate DBX/stabs?

2017-07-21 Thread Nathan Sidwell
[darwin, cygwin, rx maintainers, you might have an opinion] On 07/21/2017 01:11 AM, Richard Biener wrote: On July 21, 2017 12:03:58 AM GMT+02:00, Jim Wilson wrote: On Thu, Jul 20, 2017 at 2:00 PM, Nathan Sidwell wrote: With this patch the gdb stabs