forked from qt-creator/qt-creator
		
	adapters don't need to set DebuggerNotReady state
This commit is contained in:
		@@ -163,7 +163,6 @@ void AttachGdbAdapter::handleExit(const GdbResponse &response)
 | 
			
		||||
void AttachGdbAdapter::handleGdbFinished(int, QProcess::ExitStatus)
 | 
			
		||||
{
 | 
			
		||||
    debugMessage(_("GDB PROESS FINISHED"));
 | 
			
		||||
    setState(DebuggerNotReady);
 | 
			
		||||
    emit adapterShutDown();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -212,7 +212,6 @@ void CoreGdbAdapter::handleExit(const GdbResponse &response)
 | 
			
		||||
void CoreGdbAdapter::handleGdbFinished(int, QProcess::ExitStatus)
 | 
			
		||||
{
 | 
			
		||||
    debugMessage(_("GDB PROESS FINISHED"));
 | 
			
		||||
    setState(DebuggerNotReady);
 | 
			
		||||
    emit adapterShutDown();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -280,7 +280,6 @@ void RemoteGdbAdapter::handleExit(const GdbResponse &response)
 | 
			
		||||
void RemoteGdbAdapter::handleGdbFinished(int, QProcess::ExitStatus)
 | 
			
		||||
{
 | 
			
		||||
    debugMessage(_("GDB PROESS FINISHED"));
 | 
			
		||||
    setState(DebuggerNotReady);
 | 
			
		||||
    emit adapterShutDown();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1548,7 +1548,6 @@ void TrkGdbAdapter::handleGdbFinished(int exitCode, QProcess::ExitStatus exitSta
 | 
			
		||||
        emitDelayedAdapterStartFailed(msg);// Potentially emitted from QProcess::start() on Windows
 | 
			
		||||
    } else {
 | 
			
		||||
        logMessage(msg);
 | 
			
		||||
        setState(DebuggerNotReady);
 | 
			
		||||
        emit adapterShutDown();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user