Commit 9ed075c6 authored by hjk's avatar hjk
Browse files

debugger: fix trk argument-passing hack

parent cd0d0be2
......@@ -1475,7 +1475,7 @@ AbstractGdbAdapter *GdbEngine::determineAdapter(const DebuggerStartParametersPtr
break;
}
// @todo: remove testing hack
if (sp->processArgs.at(0) == _("@sym@"))
if (sp->processArgs.size() == 3 && sp->processArgs.at(0) == _("@sym@"))
return m_trkAdapter;
switch (sp->startMode) {
case AttachCore:
......
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