Debugging: Fix gdb crash on abort debugging

Change-Id: I4e70207b739d5b23d8cddabe5e71d75ce63c7f96
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Aurindam Jana
2012-03-30 13:25:09 +02:00
committed by hjk
parent ff0a465403
commit 808097afb1

View File

@@ -1901,10 +1901,10 @@ void GdbEngine::shutdownInferior()
switch (startParameters().closeMode) {
case KillAtClose:
postCommand("kill", NeedsStop | LosesChild, CB(handleInferiorShutdown));
break;
return;
case DetachAtClose:
postCommand("detach", NeedsStop | LosesChild, CB(handleInferiorShutdown));
break;
return;
}
QTC_ASSERT(false, notifyInferiorShutdownFailed());
}