From bcc9ac22aa022d8b64df7b7f8b7813f8ef6db6e7 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 31 Jan 2005 18:51:26 +0000 Subject: 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 * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94488 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config.gcc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/config.gcc') diff --git a/gcc/config.gcc b/gcc/config.gcc index 381df169eb3..1c6e2fa46d8 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -946,11 +946,10 @@ i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123]) use_collect2=yes ;; i[34567]86-*-openbsd*) - tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h" + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h" tm_file="${tm_file} openbsd.h i386/openbsdelf.h" gas=yes gnu_ld=yes - stabs=yes ;; i[34567]86-*-coff*) tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/i386-coff.h" -- cgit v1.2.1