forked from qt-creator/qt-creator
debugger: prevent watchdog timer to trigger on user commands
Change-Id: Ibe493b4a85d07c4aca64880fd543d14772a3b04b Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user