aboutsummaryrefslogtreecommitdiff
path: root/gold/parameters.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-15 23:03:45 +0000
committerIan Lance Taylor <iant@google.com>2007-11-15 23:03:45 +0000
commit02d2ba740273e3f539501337eebf0c6007af0b4b (patch)
treed5f227a534ef7accd13c1aff4327c00935b7bbef /gold/parameters.cc
parent557586a2002c600f50084e3ea9931393b44dbe46 (diff)
downloadgdb-02d2ba740273e3f539501337eebf0c6007af0b4b.zip
gdb-02d2ba740273e3f539501337eebf0c6007af0b4b.tar.gz
gdb-02d2ba740273e3f539501337eebf0c6007af0b4b.tar.bz2
From Craig Silverstein: Add --strip-debug-gdb.
Diffstat (limited to 'gold/parameters.cc')
-rw-r--r--gold/parameters.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc
index aceb61e..7fbbf83 100644
--- a/gold/parameters.cc
+++ b/gold/parameters.cc
@@ -66,6 +66,8 @@ Parameters::set_from_options(const General_options* options)
this->strip_ = STRIP_ALL;
else if (options->strip_debug())
this->strip_ = STRIP_DEBUG;
+ else if (options->strip_debug_gdb())
+ this->strip_ = STRIP_DEBUG_UNUSED_BY_GDB;
else
this->strip_ = STRIP_NONE;