Debugger: Pass interrupt request more directly to engines

De-virtualize requestInterruptInferior() and let always
the master engine react to the request. interruptInferior()
diverts to the active slave in case of the combined engine.

Change-Id: I5d62cf9379c8a452132827897a9ac51e4027f595
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-10-16 13:30:53 +02:00
parent dfe23b210d
commit 87cd4495a9
5 changed files with 12 additions and 23 deletions

View File

@@ -3036,7 +3036,7 @@ DebuggerEngine *currentEngine()
{
DebuggerEngine *engine = nullptr;
if (dd->m_currentRunTool)
engine = dd->m_currentRunTool->activeEngine();
engine = dd->m_currentRunTool->engine();
return engine ? engine : dd->dummyEngine();
}