diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdbengine.cpp index 00c42189e4db67af99da0cff13b8e46956188133..4d820b3cd8b9fb056f595b00d3784c660748fd59 100644 --- a/src/plugins/debugger/gdbengine.cpp +++ b/src/plugins/debugger/gdbengine.cpp @@ -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)