diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 095e46f1770..b2f1865f6f7 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -4853,7 +4853,7 @@ void GdbEngine::handleTargetQnx(const DebuggerResponse &response) if (rp.attachPID.isValid()) runCommand({"attach " + QString::number(rp.attachPID.pid()), CB(handleRemoteAttach)}); 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)}); else handleInferiorPrepared();