forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.5'
Conflicts: qbs/modules/qtc/qtc.qbs qtcreator.pri Change-Id: Ic1ab71d0d40fa6c90e337c8ee9d9558e8f103eaa
This commit is contained in:
@@ -756,7 +756,11 @@ void GdbEngine::interruptInferior()
|
||||
showMessage("TRYING TO INTERRUPT INFERIOR");
|
||||
if (HostOsInfo::isWindowsHost() && !m_isQnxGdb) {
|
||||
QTC_ASSERT(state() == InferiorStopRequested, qDebug() << state(); notifyInferiorStopFailed());
|
||||
DeviceProcessSignalOperation::Ptr signalOperation = runTool()->device()->signalOperation();
|
||||
IDevice::ConstPtr device = runTool()->device();
|
||||
if (!device)
|
||||
device = runParameters().inferior.device;
|
||||
QTC_ASSERT(device, notifyInferiorStopFailed(); return);
|
||||
DeviceProcessSignalOperation::Ptr signalOperation = device->signalOperation();
|
||||
QTC_ASSERT(signalOperation, notifyInferiorStopFailed(); return);
|
||||
connect(signalOperation.data(), &DeviceProcessSignalOperation::finished,
|
||||
this, [this, signalOperation](const QString &error) {
|
||||
|
||||
Reference in New Issue
Block a user