don't construct cookie object unnecessarily

This commit is contained in:
Oswald Buddenhagen
2009-05-04 18:24:15 +02:00
parent 4917691e79
commit 58c88eea82

View File

@@ -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)