debugger: make the selection of detach or kill explicit

Change-Id: I6f80047ad229e0be851b06a277ab2f899757828f
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-03-26 16:03:25 +02:00
committed by hjk
parent bbd5d2ddfe
commit 95e2c9ca57
18 changed files with 25 additions and 48 deletions

View File

@@ -365,14 +365,6 @@ void RemoteGdbServerAdapter::handleInterruptInferior(const GdbResponse &response
}
}
void RemoteGdbServerAdapter::shutdownInferior()
{
if (m_engine->startParameters().startMode == AttachToRemoteServer)
m_engine->defaultInferiorShutdown("detach");
else
m_engine->defaultInferiorShutdown("kill");
}
void RemoteGdbServerAdapter::shutdownAdapter()
{
m_engine->notifyAdapterShutdownOk();