linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
authorJakub Jelinek <jakub@gcc.gnu.org>
Tue, 18 Dec 2001 10:42:32 +0000 (11:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 18 Dec 2001 10:42:32 +0000 (11:42 +0100)
* 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

gcc/ChangeLog
gcc/config/elfos.h
gcc/config/linux.h
gcc/config/sparc/linux.h
gcc/config/sparc/linux64.h

index 4310464da68e0f5d78f17378e6609ea8fa526502..770177cea97752d183c8d922a2b57f93f066a70f 100644 (file)
@@ -1,3 +1,14 @@
+2001-12-18  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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.
+
+2001-12-05  David O'Brien  <obrien@FreeBSD.org>
+
+       * elfos.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
+
 2001-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * po/gcc.pot: Regenerate.
index d09bdbc8d9138c915d538bf2f717a01ad5b9e2fe..6b93253be375c1e8c82a38b423fcca3f1e61c79d 100644 (file)
@@ -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.  */
index 6e60c008d852357bcc6474ca7b99f146ee253e15..f4fa716a2ebf9a0f99a6b44a8ecc6f6c20614426 100644 (file)
@@ -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
 
index 536035176079320dadf42859344b6c977a073704..d46413339c1dd1226b60649be98661d827e49fbf 100644 (file)
@@ -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 {                                                                   \
index 613844654774b145a2ddce1bed9ad0adba2d20db..31d82042f488e22c8482daafac958caba05ad323 100644 (file)
@@ -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 {                                                                   \