aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-03-13 01:46:17 +0000
committerIan Lance Taylor <iant@google.com>2008-03-13 01:46:17 +0000
commit2285a61069d360fc56b6cf7371a6fe3ac4e240b7 (patch)
tree9ec30b1d79e193e37204f5e2e06c5c42fceb5d56 /gold/options.h
parent858b27aeedf30683566a6f25045977644f0e7d23 (diff)
downloadgdb-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/options.h')
-rw-r--r--gold/options.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gold/options.h b/gold/options.h
index 48cb28a..efe92e2 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -458,7 +458,8 @@ class General_options
N_("Alias for -d"), NULL);
DEFINE_string(debug, options::TWO_DASHES, '\0', "",
- N_("Turn on debugging"), N_("[task,script,all][,...]"));
+ N_("Turn on debugging"),
+ N_("[all,files,script,task][,...]"));
DEFINE_special(defsym, options::TWO_DASHES, '\0',
N_("Define a symbol"), N_("SYMBOL=EXPRESSION"));
@@ -579,6 +580,9 @@ class General_options
DEFINE_uint64(Ttext, options::ONE_DASH, '\0', -1U,
N_("Set the address of the text segment"), N_("ADDRESS"));
+ DEFINE_bool(verbose, options::TWO_DASHES, '\0', false,
+ N_("Synonym for --debug=files"), NULL);
+
DEFINE_special(version_script, options::TWO_DASHES, '\0',
N_("Read version script"), N_("FILE"));