From: Mark Harmstone Date: Tue, 24 Oct 2023 07:04:25 +0000 (+0200) Subject: Remove obsolete debugging formats from names list X-Git-Tag: basepoints/gcc-15~5262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=724badcadf889b5798321620aeed16b61e91fe72;p=thirdparty%2Fgcc.git Remove obsolete debugging formats from names list * opts.cc (debug_type_names): Remove stabs and xcoff. (df_set_names): Adjust. --- diff --git a/gcc/opts.cc b/gcc/opts.cc index 573dcf8e497b..8015cb7556a2 100644 --- a/gcc/opts.cc +++ b/gcc/opts.cc @@ -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. */