Commit 808097af authored by Aurindam Jana's avatar Aurindam Jana Committed by hjk
Browse files

Debugging: Fix gdb crash on abort debugging



Change-Id: I4e70207b739d5b23d8cddabe5e71d75ce63c7f96
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent ff0a4654
......@@ -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());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment