diff options
author | Geoffrey Keating <geoffk@apple.com> | 2003-04-12 01:58:33 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2003-04-12 01:58:33 +0000 |
commit | df0261868594f8e8c8ec2e1a369ca7fe867a2d02 (patch) | |
tree | 0ea37f5d25de0878bd332dd8e39db5a011511fb7 /gcc/flags.h | |
parent | ba05abd3e0f72539ee5bbb5ee2fa360cffd9eeb6 (diff) | |
download | gcc-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.h | 3 |
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. */ |