Commit d8115085 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix spurious inferior interruption (attempts ...)

when queuing up commands, don't interrupt if we are already waiting
for interruption. that will be the case when other commands area already
parent bf09e8c8
......@@ -703,11 +703,13 @@ void GdbEngine::postCommandHelper(const GdbCommand &cmd)
} else {
// Queue the commands that we cannot send at once.
showStatusMessage(tr("Stopping temporarily."), 1000);
debugMessage(_("QUEUING COMMAND ") + cmd.command);
if (state() != InferiorStopping) {
showStatusMessage(tr("Stopping temporarily."), 1000);
interruptInferior(); // FIXME: race condition between gdb and kill()
} else if (!cmd.command.isEmpty()) {
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