forked from qt-creator/qt-creator
debugger: fix QTCREATORBUG-1127 (kill on disabling multiple breakpoints)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user