debugger: replace hack to select trk adapter and pass parameters by a new one

Now .pro files can be used as project description as usual. To make the
debugger pick up the "on device" part a magic commandline is needed:
"@sym@ c:\sys\bin\your.exe  /path/to/your.sym"

If the project is not compilable, remove the Make and QMake buildsteps
and add a new Custom step that's only calling /bin/true.
This commit is contained in:
hjk
2009-10-01 14:51:48 +02:00
parent cbf0b6f2d5
commit df22ae6c53
2 changed files with 4 additions and 4 deletions

View File

@@ -1475,7 +1475,7 @@ AbstractGdbAdapter *GdbEngine::determineAdapter(const DebuggerStartParametersPtr
break;
}
// @todo: remove testing hack
if (sp->executable.endsWith(_(".sym")))
if (sp->processArgs.at(0) == _("@sym@"))
return m_trkAdapter;
switch (sp->startMode) {
case AttachCore: