forked from qt-creator/qt-creator
Debugger: Remove DebuggerRunParameters::device member
The device is always available via runTool(). Change-Id: I4a2a791a5a75b32803c06fc34947b82b869fe31c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -829,7 +829,7 @@ void GdbEngine::interruptInferior()
|
||||
if (HostOsInfo::isWindowsHost() && !m_isQnxGdb) {
|
||||
QTC_ASSERT(state() == InferiorStopRequested, qDebug() << state(); notifyInferiorStopFailed());
|
||||
QTC_ASSERT(!m_signalOperation, notifyInferiorStopFailed());
|
||||
m_signalOperation = runParameters().device->signalOperation();
|
||||
m_signalOperation = runTool()->device()->signalOperation();
|
||||
QTC_ASSERT(m_signalOperation, notifyInferiorStopFailed());
|
||||
connect(m_signalOperation.data(), &DeviceProcessSignalOperation::finished,
|
||||
this, &GdbEngine::handleInterruptDeviceInferior);
|
||||
|
||||
Reference in New Issue
Block a user