summaryrefslogtreecommitdiff
path: root/gcc/config/elfos.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/elfos.h')
-rw-r--r--gcc/config/elfos.h7
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. */