diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2022-11-16 14:33:11 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2022-11-17 10:24:07 +0000 |
commit | 92f7da917ea7ef0a10320251f0556c16872a715a (patch) | |
tree | 48d99e0572bdc528e881f29f525c53aa3eeccf52 /src/plugins/debugger/gdb/gdbengine.cpp | |
parent | 9f397de829b3b2fcf44ea8a67e3537854a07be5f (diff) | |
download | qt-creator-92f7da917ea7ef0a10320251f0556c16872a715a.tar.gz |
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>
Diffstat (limited to 'src/plugins/debugger/gdb/gdbengine.cpp')
-rw-r--r-- | src/plugins/debugger/gdb/gdbengine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 0561ca1e21..29e0ab5e42 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -4369,7 +4369,8 @@ void GdbEngine::setupInferior() // postCommand("set architecture " + remoteArch); if (!rp.solibSearchPath.isEmpty()) { DebuggerCommand cmd("appendSolibSearchPath"); - cmd.arg("path", rp.solibSearchPath); + for (const FilePath &path : rp.solibSearchPath) + cmd.arg("path", path); cmd.arg("separator", HostOsInfo::pathListSeparator()); runCommand(cmd); } |