forked from qt-creator/qt-creator
Debugger: FilePath-ify .so libs handling
Side-effect is the stabilization of the order in which the paths are passed to the debugger (was random, before). Change-Id: I2dba3ae6f2feef57b26eab93dee0903ee2f93dde Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -705,7 +705,7 @@ DebugServerPortsGatherer *DebuggerRunTool::portsGatherer() const
|
||||
return d->portsGatherer;
|
||||
}
|
||||
|
||||
void DebuggerRunTool::setSolibSearchPath(const QStringList &list)
|
||||
void DebuggerRunTool::setSolibSearchPath(const Utils::FilePaths &list)
|
||||
{
|
||||
m_runParameters.solibSearchPath = list;
|
||||
}
|
||||
@@ -941,7 +941,7 @@ void DebuggerRunTool::addSolibSearchDir(const QString &str)
|
||||
{
|
||||
QString path = str;
|
||||
path.replace("%{sysroot}", m_runParameters.sysRoot.toString());
|
||||
m_runParameters.solibSearchPath.append(path);
|
||||
m_runParameters.solibSearchPath.append(FilePath::fromString(path));
|
||||
}
|
||||
|
||||
DebuggerRunTool::~DebuggerRunTool()
|
||||
|
Reference in New Issue
Block a user