forked from qt-creator/qt-creator
debugger: move m_inferiorPid from DebuggerManager to DebuggerRunControl
This commit is contained in:
@@ -123,7 +123,7 @@ void LocalPlainGdbAdapter::checkForReleaseBuild()
|
||||
|
||||
void LocalPlainGdbAdapter::interruptInferior()
|
||||
{
|
||||
const qint64 attachedPID = m_engine->inferiorPid();
|
||||
const qint64 attachedPID = runControl()->inferiorPid();
|
||||
if (attachedPID <= 0) {
|
||||
showMessage(_("TRYING TO INTERRUPT INFERIOR BEFORE PID WAS OBTAINED"));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user