]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove obsolete debugging formats from names list
authorMark Harmstone <mark@harmstone.com>
Tue, 24 Oct 2023 07:04:25 +0000 (09:04 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 24 Oct 2023 07:06:47 +0000 (09:06 +0200)
* opts.cc (debug_type_names): Remove stabs and xcoff.
(df_set_names): Adjust.

(cherry picked from commit 724badcadf889b5798321620aeed16b61e91fe72)

gcc/opts.cc

index fb2e5388ab190975759e9ce1795938a0d67153b0..e0ba89ffe5168847bd0b8ec923964f9454b98bf2 100644 (file)
@@ -49,7 +49,7 @@ static void set_Wstrict_aliasing (struct gcc_options *opts, int onoff);
 
 const char *const debug_type_names[] =
 {
-  "none", "stabs", "dwarf-2", "xcoff", "vms", "ctf", "btf"
+  "none", "dwarf-2", "vms", "ctf", "btf"
 };
 
 /* Bitmasks of fundamental debug info formats indexed by enum
@@ -64,7 +64,7 @@ static uint32_t debug_type_masks[] =
 /* Names of the set of debug formats requested by user.  Updated and accessed
    via debug_set_names.  */
 
-static char df_set_names[sizeof "none stabs dwarf-2 xcoff vms ctf btf"];
+static char df_set_names[sizeof "none dwarf-2 vms ctf btf"];
 
 /* Get enum debug_info_type of the specified debug format, for error messages.
    Can be used only for individual debug format types.  */