diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-18 10:42:32 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-18 10:42:32 +0000 |
commit | e08a9ca19c4e81d7a19fd8adc0f98f5244720f36 (patch) | |
tree | 0cde7f271563865bdf0d0fbe34ce977ff3cb2a66 /gcc/config/elfos.h | |
parent | 9886b0ee6d46e96fd3ece3ff323e6073b821347e (diff) | |
download | gcc-e08a9ca19c4e81d7a19fd8adc0f98f5244720f36.tar.gz |
* 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: svn+ssh://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. */ |