debugger: prevent watchdog timer to trigger on user commands

Change-Id: Ibe493b4a85d07c4aca64880fd543d14772a3b04b
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-11-04 18:14:40 +01:00
committed by hjk
parent ccfc4e032a
commit 2492724d89

View File

@@ -1146,7 +1146,9 @@ bool GdbEngine::acceptsDebuggerCommands() const
void GdbEngine::executeDebuggerCommand(const QString &command)
{
QTC_CHECK(acceptsDebuggerCommands());
m_gdbAdapter->write(command.toLatin1() + "\r\n");
GdbCommand cmd;
cmd.command = command.toLatin1();
flushCommand(cmd);
}
// This is called from CoreAdapter and AttachAdapter.