[PATCH] Default Alpha/VMS to DWARF2 debugging only
Richard Biener
rguenther@suse.de
Fri Sep 10 06:52:39 GMT 2021
This changes the default debug format for Alpha/VMS to DWARF2 only,
skipping emission of VMS debug info which is going do be deprecated
for GCC 12 alongside the support for STABS.
It looks like other flavors of VMS never used VMS_DEBUG by default
but only the alpha port did.
I have no good means to test anything here, it might be that we have
alpha-vms specific testcases that rely on the previous default.
OK for trunk?
Thanks,
Richard.
2021-09-10 Richard Biener <rguenther@suse.de>
* config/alpha/vms.h (PREFERRED_DEBUGGING_TYPE): Define to
DWARF2_DEBUG.
---
gcc/config/alpha/vms.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/alpha/vms.h b/gcc/config/alpha/vms.h
index b8673b6b6fb..2a9917cde62 100644
--- a/gcc/config/alpha/vms.h
+++ b/gcc/config/alpha/vms.h
@@ -244,7 +244,7 @@ typedef struct {int num_args; enum avms_arg_type atypes[6];} avms_arg_info;
while (0)
#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE VMS_AND_DWARF2_DEBUG
+#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#define ASM_PN_FORMAT "%s___%lu"
--
2.31.1
More information about the Gcc-patches
mailing list