aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Harmstone <mark@harmstone.com>2023-10-24 09:04:25 +0200
committerRichard Biener <rguenther@suse.de>2023-10-24 09:05:37 +0200
commit724badcadf889b5798321620aeed16b61e91fe72 (patch)
tree166e7f99da04ceb14e135ed59199bbbfc77ce725
parent7b2984ad76cac67b962eeb39eab62b6dacf7845e (diff)
Remove obsolete debugging formats from names list
* opts.cc (debug_type_names): Remove stabs and xcoff. (df_set_names): Adjust.
-rw-r--r--gcc/opts.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/opts.cc b/gcc/opts.cc
index 573dcf8e497..8015cb7556a 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. */