forked from qt-creator/qt-creator
Debugger: Remove DebuggerRunTool::setInferiorDevice()
Handled by the device implicit in FilePath nowadays. Change-Id: I45b0e1b03de486df678e239143e2bdd995bee380 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1736,8 +1736,7 @@ RunControl *DebuggerPluginPrivate::attachToRunningProcess(Kit *kit,
|
||||
runControl->setDisplayName(tr("Process %1").arg(processInfo.processId));
|
||||
auto debugger = new DebuggerRunTool(runControl);
|
||||
debugger->setAttachPid(ProcessHandle(processInfo.processId));
|
||||
debugger->setInferiorExecutable(FilePath::fromString(processInfo.executable));
|
||||
debugger->setInferiorDevice(device);
|
||||
debugger->setInferiorExecutable(device->filePath(processInfo.executable));
|
||||
debugger->setStartMode(AttachToLocalProcess);
|
||||
debugger->setCloseMode(DetachAtClose);
|
||||
debugger->setContinueAfterAttach(contAfterAttach);
|
||||
|
||||
Reference in New Issue
Block a user