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);
|
||||
setUseCtrlCStub(true);
|
||||
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());
|
||||
modifyDebuggerEnvironment(qtVersion->environment());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@@ -66,11 +66,11 @@ public:
|
||||
Utils::FilePath sdpPath() const;
|
||||
void setSdpPath(const Utils::FilePath &sdpPath);
|
||||
|
||||
Utils::EnvironmentItems environment() const;
|
||||
|
||||
private:
|
||||
void updateEnvironment() const;
|
||||
|
||||
Utils::EnvironmentItems environment() const;
|
||||
|
||||
Utils::FilePath m_sdpPath;
|
||||
|
||||
mutable QString m_cpuDir;
|
||||
|
Reference in New Issue
Block a user