diff options
author | hjk <qtc-committer@nokia.com> | 2009-09-28 13:35:39 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-09-29 09:35:04 +0200 |
commit | b5706d77cf1ac184ca56ec304b0081d3c1c42fd3 (patch) | |
tree | 6c84617a9ff60298133e7e8be18d3502a8c78288 /src/plugins/debugger/gdb/coregdbadapter.h | |
parent | 4503ed6b4addecc76fd5b89bc23a0d7ef5bcd850 (diff) | |
download | qt-creator-b5706d77cf1ac184ca56ec304b0081d3c1c42fd3.tar.gz |
debugger: save a few cycles when writing to the gdb process
Diffstat (limited to 'src/plugins/debugger/gdb/coregdbadapter.h')
-rw-r--r-- | src/plugins/debugger/gdb/coregdbadapter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/coregdbadapter.h b/src/plugins/debugger/gdb/coregdbadapter.h index b448fa2a93..c432b62275 100644 --- a/src/plugins/debugger/gdb/coregdbadapter.h +++ b/src/plugins/debugger/gdb/coregdbadapter.h @@ -55,7 +55,7 @@ public: private: QByteArray readAllStandardError() { return m_gdbProc.readAllStandardError(); } QByteArray readAllStandardOutput() { return m_gdbProc.readAllStandardOutput(); } - qint64 write(const char *data) { return m_gdbProc.write(data); } + void write(const QByteArray &data) { m_gdbProc.write(data, data.size()); } void setWorkingDirectory(const QString &dir) { m_gdbProc.setWorkingDirectory(dir); } void setEnvironment(const QStringList &env) { m_gdbProc.setEnvironment(env); } bool isTrkAdapter() const { return false; } |