debugger: fix QTCREATORBUG-1127 (kill on disabling multiple breakpoints)

This commit is contained in:
hjk
2010-04-12 14:56:19 +02:00
parent b85dd9faf9
commit ea80841025

View File

@@ -776,9 +776,9 @@ void GdbEngine::postCommandHelper(const GdbCommand &cmd)
if (state() == InferiorStopping) {
if (cmd.flags & LosesChild)
setState(InferiorStopping_Kill);
debugMessage(_("CHILD ALREADY BEING INTERRUPTED"));
// FIXME
shutdown();
debugMessage(_("CHILD ALREADY BEING INTERRUPTED. STILL HOPING."));
// Calling shutdown() here breaks all situations where two
// NeedsStop commands are issued in quick succession.
} else if (state() == InferiorStopping_Kill) {
debugMessage(_("CHILD ALREADY BEING INTERRUPTED (KILL PENDING)"));
// FIXME