forked from qt-creator/qt-creator
Debugger: Make AttachToRemoteProcess use the remote interrupt mechanism
... instead of trying to interrupt a local inferior with the same pid. Change-Id: Ia5a3aa719f2df408f13dde48744c0d79a629addb Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -4529,7 +4529,7 @@ void GdbEngine::interruptInferior2()
|
||||
|
||||
interruptLocalInferior(runParameters().attachPID.pid());
|
||||
|
||||
} else if (isRemoteEngine()) {
|
||||
} else if (isRemoteEngine() || runParameters().startMode == AttachToRemoteProcess) {
|
||||
|
||||
CHECK_STATE(InferiorStopRequested);
|
||||
if (usesTargetAsync()) {
|
||||
|
||||
Reference in New Issue
Block a user