summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-10-01 17:09:32 +0200
committerhjk <qtc-committer@nokia.com>2009-10-01 17:09:32 +0200
commit9ed075c60ca107add6dcbb81dd4f40e9f3623d6c (patch)
tree9c8b7d85d1d411477e01a7b0acd253b179ceb23f
parentcd0d0be2b5fac03e33ddae00a9b92f74d3515c01 (diff)
downloadqt-creator-9ed075c60ca107add6dcbb81dd4f40e9f3623d6c.tar.gz
debugger: fix trk argument-passing hack
-rw-r--r--src/plugins/debugger/gdb/gdbengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index f312d502fa..0a66a9385b 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -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: