]> gcc.gnu.org Git - gcc.git/commitdiff
aix: Switch AIX configurtion to DWARF2 debugging
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 14 Jan 2020 18:12:59 +0000 (13:12 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Fri, 23 Apr 2021 00:11:16 +0000 (20:11 -0400)
This patch is in preparation for removing stabs debugging support from GCC.

The rs6000 configuration files remain somewhat intertwined with the
stabs debugging support, but the configuration no longer generates
stabs debugging information.

This patch means that earlier releases (Technology Levels) of AIX 7.1
and 7.2, prior to DWARF support and fixes, cannot build GCC or support
GCC.

gcc/ChangeLog:

* config/rs6000/aix71.h (PREFERRED_DEBUGGING_TYPE): Change to
DWARF2_DEBUG.
* config/rs6000/aix72.h (PREFERRED_DEBUGGING_TYPE): Same.

gcc/config/rs6000/aix71.h
gcc/config/rs6000/aix72.h

index 3612ed2593b0b8f98c70510e8f8de192d7ba9013..807e260a17564e0b75fd156a42697165be62040a 100644 (file)
@@ -272,9 +272,9 @@ extern long long int    atoll(const char *);
 
 #define TARGET_AIX_VERSION 71
 
-/* AIX 7.1 supports DWARF3 debugging, but XCOFF remains the default.  */
+/* AIX 7.1 supports DWARF3+ debugging.  */
 #define DWARF2_DEBUGGING_INFO 1
-#define PREFERRED_DEBUGGING_TYPE XCOFF_DEBUG
+#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
 #define DEBUG_INFO_SECTION     "0x10000"
 #define DEBUG_LINE_SECTION     "0x20000"
 #define DEBUG_PUBNAMES_SECTION "0x30000"
index d34909283cc6e3aae101b3dbe6155f6a5bd5b778..36c5d9944392fbd6620c0228aae50defaefa6929 100644 (file)
@@ -273,9 +273,9 @@ extern long long int    atoll(const char *);
 
 #define TARGET_AIX_VERSION 72
 
-/* AIX 7.2 supports DWARF3 debugging, but XCOFF remains the default.  */
+/* AIX 7.2 supports DWARF3+ debugging.  */
 #define DWARF2_DEBUGGING_INFO 1
-#define PREFERRED_DEBUGGING_TYPE XCOFF_DEBUG
+#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
 #define DEBUG_INFO_SECTION     "0x10000"
 #define DEBUG_LINE_SECTION     "0x20000"
 #define DEBUG_PUBNAMES_SECTION "0x30000"
This page took 0.06524 seconds and 5 git commands to generate.