forked from qt-creator/qt-creator
Debugging: Fix gdb crash on abort debugging
Change-Id: I4e70207b739d5b23d8cddabe5e71d75ce63c7f96 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user