forked from qt-creator/qt-creator
		
	debugger: streamline communication between GdbEngine and the adapters
This commit is contained in:
		@@ -65,7 +65,7 @@ void CoreGdbAdapter::startAdapter()
 | 
			
		||||
    if (!m_engine->startGdb())
 | 
			
		||||
        return;
 | 
			
		||||
 | 
			
		||||
    emit adapterStarted();
 | 
			
		||||
    m_engine->handleAdapterStarted();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void CoreGdbAdapter::startInferior()
 | 
			
		||||
@@ -161,7 +161,7 @@ void CoreGdbAdapter::handleTargetCore(const GdbResponse &response)
 | 
			
		||||
    } else {
 | 
			
		||||
        QString msg = tr("Attach to core \"%1\" failed:\n").arg(startParameters().coreFile)
 | 
			
		||||
            + QString::fromLocal8Bit(response.data.findChild("msg").data());
 | 
			
		||||
        emit inferiorStartFailed(msg);
 | 
			
		||||
        m_engine->handleInferiorStartFailed(msg);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user