forked from qt-creator/qt-creator
Qnx: Fix passing nto-executable
Change-Id: I6c1749a74d153a8dbbbef891e8eee230226e452d Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -4853,7 +4853,7 @@ void GdbEngine::handleTargetQnx(const DebuggerResponse &response)
|
|||||||
if (rp.attachPID.isValid())
|
if (rp.attachPID.isValid())
|
||||||
runCommand({"attach " + QString::number(rp.attachPID.pid()), CB(handleRemoteAttach)});
|
runCommand({"attach " + QString::number(rp.attachPID.pid()), CB(handleRemoteAttach)});
|
||||||
else if (!rp.inferior.command.isEmpty())
|
else if (!rp.inferior.command.isEmpty())
|
||||||
runCommand({"set nto-executable " + rp.inferior.command.executable().toString(),
|
runCommand({"set nto-executable " + rp.inferior.command.executable().path(),
|
||||||
CB(handleSetNtoExecutable)});
|
CB(handleSetNtoExecutable)});
|
||||||
else
|
else
|
||||||
handleInferiorPrepared();
|
handleInferiorPrepared();
|
||||||
|
Reference in New Issue
Block a user