Commit 58c88eea authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

don't construct cookie object unnecessarily

parent 4917691e
......@@ -919,11 +919,7 @@ void GdbEngine::executeDebuggerCommand(const QString &command)
return;
}
GdbCookie cmd;
cmd.command = command;
cmd.type = -1;
m_gdbProc.write(cmd.command.toLatin1() + "\r\n");
m_gdbProc.write(command.toLatin1() + "\r\n");
}
void GdbEngine::handleTargetCore(const GdbResultRecord &record)
......
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