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:
@@ -256,8 +256,8 @@ void LldbEngine::handleLldbStarted()
|
||||
"settings append target.source-map " + it.key() + ' ' + expand(it.value()));
|
||||
}
|
||||
|
||||
for (const QString &path : rp.solibSearchPath)
|
||||
executeDebuggerCommand("settings append target.exec-search-paths " + path);
|
||||
for (const FilePath &path : rp.solibSearchPath)
|
||||
executeDebuggerCommand("settings append target.exec-search-paths " + path.toString());
|
||||
|
||||
DebuggerCommand cmd2("setupInferior");
|
||||
cmd2.arg("executable", rp.inferior.command.executable().toString());
|
||||
|
||||
Reference in New Issue
Block a user