aboutsummaryrefslogtreecommitdiff
path: root/gold/parameters.cc
diff options
context:
space:
mode:
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;