diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2001-12-18 11:42:32 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2001-12-18 11:42:32 +0100 |
commit | b25c3a22e3681b018f86030183356ce17798e450 (patch) | |
tree | 0cde7f271563865bdf0d0fbe34ce977ff3cb2a66 /gcc/config | |
parent | 3855d0d17f175c7b8af9f9889bd16c8353242e55 (diff) | |
download | gcc-b25c3a22e3681b018f86030183356ce17798e450.zip gcc-b25c3a22e3681b018f86030183356ce17798e450.tar.gz gcc-b25c3a22e3681b018f86030183356ce17798e450.tar.bz2 |
linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
* 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.
From-SVN: r48149
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/elfos.h | 7 | ||||
-rw-r--r-- | gcc/config/linux.h | 4 | ||||
-rw-r--r-- | gcc/config/sparc/linux.h | 8 | ||||
-rw-r--r-- | gcc/config/sparc/linux64.h | 7 |
4 files changed, 5 insertions, 21 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h index d09bdbc..6b93253 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. */ diff --git a/gcc/config/linux.h b/gcc/config/linux.h index 6e60c00..f4fa716 100644 --- a/gcc/config/linux.h +++ b/gcc/config/linux.h @@ -37,10 +37,6 @@ Boston, MA 02111-1307, USA. */ #undef ASM_APP_OFF #define ASM_APP_OFF "#NO_APP\n" -/* Use stabs instead of DWARF debug format. */ -#undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG - #undef MD_EXEC_PREFIX #undef MD_STARTFILE_PREFIX diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 5360351..d464133 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -32,9 +32,6 @@ Boston, MA 02111-1307, USA. */ #define MULTIBYTE_CHARS 1 #endif -/* Use stabs instead of DWARF debug format. */ -#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG - #undef MD_EXEC_PREFIX #undef MD_STARTFILE_PREFIX @@ -195,11 +192,6 @@ Boston, MA 02111-1307, USA. */ #undef DBX_REGISTER_NUMBER #define DBX_REGISTER_NUMBER(REGNO) (REGNO) -/* We use stabs-in-elf for debugging, because that is what the native - toolchain uses. XXX */ -#undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG - #undef ASM_OUTPUT_ALIGNED_LOCAL #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \ do { \ diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 6138446..31d8204 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -249,7 +249,6 @@ Boston, MA 02111-1307, USA. */ %{m64:-mptr64 -mstack-bias -mlong-double-128 \ %{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:-mcpu=ultrasparc}}}}}}} \ %{!mno-vis:%{!mcpu=v9:-mvis}}} \ -%{!m64:%{g*:%{!gs*:%{!gd*:%{!gx*:%{!gc*:-gstabs+}}}}}} \ " #else #define CC1_SPEC "\ @@ -258,8 +257,7 @@ Boston, MA 02111-1307, USA. */ %{msparclite:-mcpu=sparclite} %{mf930:-mcpu=f930} %{mf934:-mcpu=f934} \ %{mv8:-mcpu=v8} %{msupersparc:-mcpu=supersparc} \ %{m32:-mptr32 -mno-stack-bias %{!mlong-double-128:-mlong-double-64} \ - %{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:-mcpu=cypress}}}}}}} \ - %{g*:%{!gs*:%{!gd*:%{!gx*:%{!gc*:-gstabs+}}}}}} \ + %{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:-mcpu=cypress}}}}}}}} \ %{!m32:%{!mcpu*:-mcpu=ultrasparc}} \ %{!mno-vis:%{!m32:%{!mcpu=v9:-mvis}}} \ " @@ -315,9 +313,6 @@ Boston, MA 02111-1307, USA. */ #define DWARF2_DEBUGGING_INFO #define DBX_DEBUGGING_INFO -#undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG - #undef ASM_OUTPUT_ALIGNED_LOCAL #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \ do { \ |