Debugger: Silence soft assert

Amends c83a0be72d.

Change-Id: Idb62b20af8052ee7d20f7df2c82125cd12e26738
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2024-06-27 12:51:50 +02:00
parent 2364448f91
commit 5333082054

View File

@@ -470,7 +470,7 @@ void GdbEngine::handleAsyncOutput(const QStringView asyncClass, const GdbMi &res
Module module; Module module;
module.startAddress = 0; module.startAddress = 0;
module.endAddress = 0; module.endAddress = 0;
module.hostPath = Utils::FilePath::fromString(result["host-name"].data()); module.hostPath = Utils::FilePath::fromUserInput(result["host-name"].data());
const QString target = result["target-name"].data(); const QString target = result["target-name"].data();
module.modulePath = runParameters().inferior.command.executable().withNewPath(target); module.modulePath = runParameters().inferior.command.executable().withNewPath(target);
module.moduleName = module.hostPath.baseName(); module.moduleName = module.hostPath.baseName();