aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@redhat.com>2001-08-13 19:17:05 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2001-08-13 19:17:05 +0000
commit99e2a354fd1a5a22758b25cc9b7b8b83ac38039f (patch)
tree70c6e6f51a16faebc35307b2d17761705cf63463
parent11cdfad6244360dcf36923895386c14acac63d8d (diff)
downloadgcc-99e2a354fd1a5a22758b25cc9b7b8b83ac38039f.zip
gcc-99e2a354fd1a5a22758b25cc9b7b8b83ac38039f.tar.gz
gcc-99e2a354fd1a5a22758b25cc9b7b8b83ac38039f.tar.bz2
sysv4.h (PREFERRED_DEBUGGING_TYPE): Use DWARF2 instead of stabs by default.
* config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use DWARF2 instead of stabs by default. From-SVN: r44865
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/sysv4.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1a5a195..7b8cb0f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-13 Geoffrey Keating <geoffk@redhat.com>
+
+ * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
+ DWARF2 instead of stabs by default.
+
2001-08-13 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c: Include optabs.h.
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 39813b6..773af06 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -868,11 +868,11 @@ do { \
/* This is the end of what might become sysv4.h. */
-/* Allow stabs and dwarf, for now, make stabs the default debugging type,
- not dwarf since G++ doesn't support dwarf. */
+/* Use DWARF 2 debugging information by default. */
#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
+#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
+/* Historically we have also supported stabs debugging. */
#define DBX_DEBUGGING_INFO
/* If we are referencing a function that is static or is known to be