From f09977cddabab9bf8c9f6e96e54d8f6f670c5f1d Mon Sep 17 00:00:00 2001 From: geoffk Date: Mon, 13 Aug 2001 19:17:05 +0000 Subject: [PATCH] * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use DWARF2 instead of stabs by default. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44865 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/sysv4.h | 6 +++--- 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 + + * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use + DWARF2 instead of stabs by default. + 2001-08-13 David Edelsohn * 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 -- 2.7.4