From ea80841025ffbfd16139d7f2aa1c7341fcfcdbe3 Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Mon, 12 Apr 2010 14:56:19 +0200 Subject: [PATCH] debugger: fix QTCREATORBUG-1127 (kill on disabling multiple breakpoints) --- src/plugins/debugger/gdb/gdbengine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index e27a2972d3e..f1568171b1d 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -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 -- GitLab