forked from qt-creator/qt-creator
overhaul process argument handling
get away from argument stringlists. instead, use native shell command lines which support quoting/splitting, environment variable expansion and redirections with well-understood semantics. Task-number: QTCREATORBUG-542 Task-number: QTCREATORBUG-1564
This commit is contained in:
@@ -1708,7 +1708,7 @@ AbstractGdbAdapter *GdbEngine::createAdapter()
|
||||
case ProjectExplorer::ToolChain_RVCT_ARMV5_GNUPOC:
|
||||
case ProjectExplorer::ToolChain_GCCE_GNUPOC:
|
||||
// fixme: 1 of 3 testing hacks
|
||||
if (sp.processArgs.size() >= 5 && sp.processArgs.at(0) == _("@tcf@"))
|
||||
if (sp.processArgs.startsWith(__("@tcf@ ")))
|
||||
return new TcfTrkGdbAdapter(this);
|
||||
return new TrkGdbAdapter(this);
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user