forked from qt-creator/qt-creator
Debugger: Remove DebuggerCommand::arg(FilePath)
It's better when the user code has to be explicit in what format and/or which parts of the FilePath is needed. Change-Id: I9d70e073f853a1bbc47c8482ebe77d7c4612b4b7 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -4369,8 +4369,8 @@ void GdbEngine::setupInferior()
|
||||
// postCommand("set architecture " + remoteArch);
|
||||
if (!rp.solibSearchPath.isEmpty()) {
|
||||
DebuggerCommand cmd("appendSolibSearchPath");
|
||||
for (const FilePath &path : rp.solibSearchPath)
|
||||
cmd.arg("path", path);
|
||||
for (const FilePath &filePath : rp.solibSearchPath)
|
||||
cmd.arg("path", filePath.path());
|
||||
cmd.arg("separator", HostOsInfo::pathListSeparator());
|
||||
runCommand(cmd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user