aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.cc
diff options
context:
space:
mode:
authorMark Harmstone <mark@harmstone.com>2023-04-18 13:55:35 -0600
committerJeff Law <jlaw@ventanamicro>2023-04-18 13:55:35 -0600
commit2f7e7bfa3c6327793cdcdcb5c770b93cecd49bd0 (patch)
treed284f95511c8a1e46f5f129a0e42b4771c45f118 /gcc/gcc.cc
parent6c11d30799ff3160729315d07c3df641c3ca9870 (diff)
downloadgcc-2f7e7bfa3c6327793cdcdcb5c770b93cecd49bd0.zip
gcc-2f7e7bfa3c6327793cdcdcb5c770b93cecd49bd0.tar.gz
gcc-2f7e7bfa3c6327793cdcdcb5c770b93cecd49bd0.tar.bz2
Add -gcodeview option
gcc/ * common.opt (gcodeview): Add new option. * gcc.cc (driver_handle_option); Handle OPT_gcodeview. * opts.cc (command_handle_option): Similarly. * doc/invoke.texi: Add documentation for -gcodeview.
Diffstat (limited to 'gcc/gcc.cc')
-rw-r--r--gcc/gcc.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gcc.cc b/gcc/gcc.cc
index 16bb07f..39a44fa 100644
--- a/gcc/gcc.cc
+++ b/gcc/gcc.cc
@@ -4572,6 +4572,10 @@ driver_handle_option (struct gcc_options *opts,
do_save = false;
break;
+ case OPT_gcodeview:
+ add_infile ("--pdb=", "*");
+ break;
+
default:
/* Various driver options need no special processing at this
point, having been handled in a prescan above or being