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 (state() == InferiorStopping) {
if (cmd.flags & LosesChild) if (cmd.flags & LosesChild)
setState(InferiorStopping_Kill); setState(InferiorStopping_Kill);
debugMessage(_("CHILD ALREADY BEING INTERRUPTED")); debugMessage(_("CHILD ALREADY BEING INTERRUPTED. STILL HOPING."));
// FIXME // Calling shutdown() here breaks all situations where two
shutdown(); // NeedsStop commands are issued in quick succession.
} else if (state() == InferiorStopping_Kill) { } else if (state() == InferiorStopping_Kill) {
debugMessage(_("CHILD ALREADY BEING INTERRUPTED (KILL PENDING)")); debugMessage(_("CHILD ALREADY BEING INTERRUPTED (KILL PENDING)"));
// FIXME // FIXME