Commit b84d2f32 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

micro-optimization

don't evaluate expression for possible reset if the variable is already
unset ...
parent 21314b78
......@@ -1115,7 +1115,7 @@ void GdbEngine::handleStopResponse(const GdbMi &data)
// Don't load helpers on stops triggered by signals unless it's
// an intentional trap.
bool initHelpers = m_debuggingHelperState == DebuggingHelperUninitialized;
if (reason == "signal-received"
if (initHelpers && reason == "signal-received"
&& data.findChild("signal-name").data() != "SIGTRAP")
initHelpers = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment