https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102255
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|i[34567]86-*-cygwin*, |i[34567]86-*-cygwin*, |x86_64-*-cygwin*, |x86_64-*-cygwin*, |i[34567]86-*-mingw*, |i[34567]86-*-mingw*, |x86_64-*-mingw* |x86_64-*-mingw*, | |i?86-*-darwin* --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- i?86-*-darwin* also uses STABS for pre-darwin9 32bit compiles via i386/darwin.h /* Darwin on x86_64 uses dwarf-2 by default. Pre-darwin9 32-bit compiles default to stabs+. darwin9+ defaults to dwarf-2. */ #ifndef DARWIN_PREFER_DWARF #undef PREFERRED_DEBUGGING_TYPE #ifdef HAVE_AS_STABS_DIRECTIVE #define PREFERRED_DEBUGGING_TYPE (TARGET_64BIT ? DWARF2_DEBUG : DBX_DEBUG) #else #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG #endif #endif but it looks like DARWIN_PREFER_DWARF is always set.