diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-01-10 21:32:15 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-01-10 21:32:15 +0000 |
commit | 5c5d1ea0c8c9faf670e045f24fbe53f5115d46da (patch) | |
tree | 9bc54295cab080e92961c0c2c633b0cf8d87d4a2 /gcc/cppmain.c | |
parent | d9271ccca6f90fcdd7daed87f0bb2f6e94d2c698 (diff) | |
download | gcc-5c5d1ea0c8c9faf670e045f24fbe53f5115d46da.zip gcc-5c5d1ea0c8c9faf670e045f24fbe53f5115d46da.tar.gz gcc-5c5d1ea0c8c9faf670e045f24fbe53f5115d46da.tar.bz2 |
cppinit.c (OPT_g): Remove.
* cppinit.c (OPT_g): Remove.
(cpp_handle_option): Update for removed -g3.
(print_help): Update.
* cpplib.h (struct cpp_options): Remove debug_output.
* cppmain.c (setup_callbacks, cb_define): Update.
* gcc.c (cpp_options): Translate -g3 to -dD.
From-SVN: r38881
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r-- | gcc/cppmain.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c index 81fdac9..9e08bbe 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -168,8 +168,7 @@ setup_callbacks () if (CPP_OPTION (pfile, dump_includes)) pfile->cb.include = cb_include; - if (CPP_OPTION (pfile, debug_output) - || CPP_OPTION (pfile, dump_macros) == dump_names + if (CPP_OPTION (pfile, dump_macros) == dump_names || CPP_OPTION (pfile, dump_macros) == dump_definitions) { pfile->cb.define = cb_define; @@ -350,9 +349,8 @@ cb_define (pfile, node) maybe_print_line (cpp_get_line (pfile)->output_line); fprintf (print.outf, "#define %s", node->name); - /* -dD or -g3 command line options. */ - if (CPP_OPTION (pfile, debug_output) - || CPP_OPTION (pfile, dump_macros) == dump_definitions) + /* -dD command line option. */ + if (CPP_OPTION (pfile, dump_macros) == dump_definitions) fputs ((const char *) cpp_macro_definition (pfile, node), print.outf); putc ('\n', print.outf); |