2013-09-26 17:14:40 +02:00

23 lines
741 B
Plaintext

$NetBSD: patch-ai,v 1.2 2010/11/18 22:52:04 adam Exp $
--- src/plugins/debugger/gdb/gdbengine.cpp.orig 2010-08-24 07:46:09.000000000 +0000
+++ src/plugins/debugger/gdb/gdbengine.cpp
@@ -831,7 +831,7 @@ void GdbEngine::flushCommand(const GdbCo
cmd.command = QByteArray::number(currentToken()) + cmd.command;
showDebuggerInput(LogInput, _(cmd.command));
- m_gdbAdapter->write(cmd.command + "\r\n");
+ m_gdbAdapter->write(cmd.command + "\n");
m_commandTimer->start();
@@ -1052,7 +1052,7 @@ void GdbEngine::executeDebuggerCommand(c
return;
}
- m_gdbAdapter->write(command.toLatin1() + "\r\n");
+ m_gdbAdapter->write(command.toLatin1() + "\n");
}
// Called from CoreAdapter and AttachAdapter