forked from qt-creator/qt-creator
Android: Use numerical options for remote chmod call in uploadGdbServer
androiddeplyqt does not deploy gdbserver anymore, since Qt 5.14. Therefore the gdbverver deployment of Qt Creator is triggered for all devices, some of which do not support the symbolic chmod parameters (e.g. +x). Change-Id: I66e9fabeb0da4a1a3693c655a085d81c15f9d263 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
@@ -288,8 +288,8 @@ bool AndroidRunnerWorker::uploadGdbServer()
|
|||||||
qCDebug(androidRunWorkerLog) << "Gdbserver copy from temp directory failed";
|
qCDebug(androidRunWorkerLog) << "Gdbserver copy from temp directory failed";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
QTC_ASSERT(runAdb({"shell", "run-as", m_packageName, "chmod", "+x", "./gdbserver"}),
|
QTC_ASSERT(runAdb({"shell", "run-as", m_packageName, "chmod", "777", "./gdbserver"}),
|
||||||
qCDebug(androidRunWorkerLog) << "Gdbserver chmod +x failed.");
|
qCDebug(androidRunWorkerLog) << "Gdbserver chmod 777 failed.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user