]> 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:05:37 +0000 (09:05 +0200)
* opts.cc (debug_type_names): Remove stabs and xcoff.
(df_set_names): Adjust.

gcc/opts.cc

index 573dcf8e497b2451b9f57d1c7e8030b3526d5800..8015cb7556a276e6f7d3590cf45c1b06b8d7737c 100644 (file)
@@ -50,7 +50,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
@@ -65,7 +65,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.  */