diff options
author | Ian Lance Taylor <iant@google.com> | 2008-03-13 01:46:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-03-13 01:46:17 +0000 |
commit | 2285a61069d360fc56b6cf7371a6fe3ac4e240b7 (patch) | |
tree | 9ec30b1d79e193e37204f5e2e06c5c42fceb5d56 /gold/parameters.cc | |
parent | 858b27aeedf30683566a6f25045977644f0e7d23 (diff) | |
download | gdb-2285a61069d360fc56b6cf7371a6fe3ac4e240b7.zip gdb-2285a61069d360fc56b6cf7371a6fe3ac4e240b7.tar.gz gdb-2285a61069d360fc56b6cf7371a6fe3ac4e240b7.tar.bz2 |
From Craig Silverstein: Implement --debug=files to track file opens,
and implement --verbose as a synonym.
Diffstat (limited to 'gold/parameters.cc')
-rw-r--r-- | gold/parameters.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc index 9c57ef3..2e8bab7 100644 --- a/gold/parameters.cc +++ b/gold/parameters.cc @@ -45,6 +45,9 @@ Parameters::set_options(const General_options* options) // For speed, we convert the options() debug var from a string to an // enum (from debug.h). this->debug_ = debug_string_to_enum(this->options().debug()); + // If --verbose is set, it acts as "--debug=files". + if (options->verbose()) + this->debug_ |= DEBUG_FILES; } void |