diff options
author | hjk <qtc-committer@nokia.com> | 2009-10-01 17:09:32 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-10-01 17:09:32 +0200 |
commit | 9ed075c60ca107add6dcbb81dd4f40e9f3623d6c (patch) | |
tree | 9c8b7d85d1d411477e01a7b0acd253b179ceb23f | |
parent | cd0d0be2b5fac03e33ddae00a9b92f74d3515c01 (diff) | |
download | qt-creator-9ed075c60ca107add6dcbb81dd4f40e9f3623d6c.tar.gz |
debugger: fix trk argument-passing hack
-rw-r--r-- | src/plugins/debugger/gdb/gdbengine.cpp | 2 |
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: |