aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorMarc Espie <espie@openbsd.org>2005-01-31 18:51:26 +0000
committerMarc Espie <espie@gcc.gnu.org>2005-01-31 18:51:26 +0000
commit75a3bd9d651df22415296c08a50f10869ec10d5a (patch)
treede0e6b84552d173002ae9bddf55733654f2c7a04 /gcc/config.gcc
parente87d92f46959d7b0f36d4e5c69452a3b3ac3d9ca (diff)
downloadgcc-75a3bd9d651df22415296c08a50f10869ec10d5a.zip
gcc-75a3bd9d651df22415296c08a50f10869ec10d5a.tar.gz
gcc-75a3bd9d651df22415296c08a50f10869ec10d5a.tar.bz2
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
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 381df16..1c6e2fa 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"