diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-12-18 10:42:32 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2001-12-18 10:42:32 +0000 |
commit | f77ac7caefb19a21b4d267bed3200aa69dcf87c0 (patch) | |
tree | 0cde7f271563865bdf0d0fbe34ce977ff3cb2a66 /gcc/config/elfos.h | |
parent | a7dc392fda73737e10e9db48c59a256eeffbb51b (diff) |
* config/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
* config/sparc/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
* config/sparc/linux64.h (PREFERRED_DEBUGGING_TYPE): Remove.
(CC1_SPEC): Don't default to -gstabs+ if -m32.
* elfos.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@48149 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/elfos.h')
-rw-r--r-- | gcc/config/elfos.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h index d09bdbc8d91..6b93253be37 100644 --- a/gcc/config/elfos.h +++ b/gcc/config/elfos.h @@ -70,11 +70,12 @@ Boston, MA 02111-1307, USA. */ #define DWARF2_DEBUGGING_INFO 1 #endif -/* The GNU tools operate better with stabs. Since we don't have - any native tools to be compatible with, default to stabs. */ +/* The GNU tools operate better with dwarf2, and it is required by some + psABI's. Since we don't have any native tools to be compatible with, + default to dwarf2. */ #ifndef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG +#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG #endif /* All SVR4 targets use the ELF object file format. */ |