forked from qt-creator/qt-creator
Qnx: Pass SDP environment to gdb
Change-Id: I96323671176112c3295aa5ecddaf538ea645e92a Reviewed-by: Rafael Roquetto <rafael.roquetto@qt.io>
This commit is contained in:
@@ -147,8 +147,10 @@ QnxDebugSupport::QnxDebugSupport(RunControl *runControl)
|
|||||||
setCloseMode(KillAtClose);
|
setCloseMode(KillAtClose);
|
||||||
setUseCtrlCStub(true);
|
setUseCtrlCStub(true);
|
||||||
setSolibSearchPath(searchPaths(k));
|
setSolibSearchPath(searchPaths(k));
|
||||||
if (auto qtVersion = dynamic_cast<QnxQtVersion *>(QtSupport::QtKitAspect::qtVersion(k)))
|
if (auto qtVersion = dynamic_cast<QnxQtVersion *>(QtSupport::QtKitAspect::qtVersion(k))) {
|
||||||
setSysRoot(qtVersion->qnxTarget());
|
setSysRoot(qtVersion->qnxTarget());
|
||||||
|
modifyDebuggerEnvironment(qtVersion->environment());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -66,11 +66,11 @@ public:
|
|||||||
Utils::FilePath sdpPath() const;
|
Utils::FilePath sdpPath() const;
|
||||||
void setSdpPath(const Utils::FilePath &sdpPath);
|
void setSdpPath(const Utils::FilePath &sdpPath);
|
||||||
|
|
||||||
|
Utils::EnvironmentItems environment() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void updateEnvironment() const;
|
void updateEnvironment() const;
|
||||||
|
|
||||||
Utils::EnvironmentItems environment() const;
|
|
||||||
|
|
||||||
Utils::FilePath m_sdpPath;
|
Utils::FilePath m_sdpPath;
|
||||||
|
|
||||||
mutable QString m_cpuDir;
|
mutable QString m_cpuDir;
|
||||||
|
Reference in New Issue
Block a user