Thx to Eric Botcazou, Andrew Pinski and Mark Kettenis for this one.
Turns out OpenBSD was mistakenly including an embedded system fragment, and thus outputting stabs debug by default. Once the only needed definition is saved from that file, we happily compile with default dwarf2. The rest of the toolchain is happy, and any recent gdb works very well with that... This obviously improves the stability of the compiler, since dwarf2 output is so much more well-tested than stabs on elf platforms... 2005-01-31 Marc Espie <espie@openbsd.org> * config.gcc: Don't include embedded systems fragment, switches default debugging format to ELF. * config/i386/openbsdelf.h: Add DBX_REGISTER_NUMBER since we no longer pick it up there. From-SVN: r94488
Showing
Please
register
or
sign in
to comment