aboutsummaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2003-04-12 01:58:33 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2003-04-12 01:58:33 +0000
commitdf0261868594f8e8c8ec2e1a369ca7fe867a2d02 (patch)
tree0ea37f5d25de0878bd332dd8e39db5a011511fb7 /gcc/flags.h
parentba05abd3e0f72539ee5bbb5ee2fa360cffd9eeb6 (diff)
downloadgcc-df0261868594f8e8c8ec2e1a369ca7fe867a2d02.zip
gcc-df0261868594f8e8c8ec2e1a369ca7fe867a2d02.tar.gz
gcc-df0261868594f8e8c8ec2e1a369ca7fe867a2d02.tar.bz2
c-pch.c: Include flags.h.
* c-pch.c: Include flags.h. Add comments to routines. (struct c_pch_validity): New. (get_ident): Update PCH file version number. (pch_init): Output current debugging type. (c_common_valid_pch): Check debugging type. * Makefile.in (c-pch.o): Update dependencies. * flags.h (debug_type_names): Declare. * toplev.c (debug_type_names): Move out of decode_g_option. From-SVN: r65499
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 88ed465..1ca9de2 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -41,6 +41,9 @@ enum debug_info_type
/* Specify which kind of debugging info to generate. */
extern enum debug_info_type write_symbols;
+/* Names of debug_info_type, for error messages. */
+extern const char *const debug_type_names[];
+
enum debug_info_level
{
DINFO_LEVEL_NONE, /* Write no debugging info. */