Commit 2492724d authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: prevent watchdog timer to trigger on user commands



Change-Id: Ibe493b4a85d07c4aca64880fd543d14772a3b04b
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent ccfc4e03
...@@ -1146,7 +1146,9 @@ bool GdbEngine::acceptsDebuggerCommands() const ...@@ -1146,7 +1146,9 @@ bool GdbEngine::acceptsDebuggerCommands() const
void GdbEngine::executeDebuggerCommand(const QString &command) void GdbEngine::executeDebuggerCommand(const QString &command)
{ {
QTC_CHECK(acceptsDebuggerCommands()); 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. // This is called from CoreAdapter and AttachAdapter.
......
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