diff options
author | Caroline Tice <ctice@apple.com> | 2010-12-02 18:31:56 +0000 |
---|---|---|
committer | Caroline Tice <ctice@apple.com> | 2010-12-02 18:31:56 +0000 |
commit | 82305fc59a70f3b10b07235daa2601d08aebf0d3 (patch) | |
tree | 74952ab66af36d82fb8ee84274984fc97d055520 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | c5cc2fb980f8ccd0c16b30148a6a7e8776136c23 (diff) | |
download | bcm5719-llvm-82305fc59a70f3b10b07235daa2601d08aebf0d3.tar.gz bcm5719-llvm-82305fc59a70f3b10b07235daa2601d08aebf0d3.zip |
Add proper EOF handling to Communication & Connection classes:
Add bool member to Communication class indicating whether the
Connection should be closed on receiving an EOF or not. Update the
Connection read to return an EOF status when appropriate. Modify the
Communication class to pass the EOF along or not, and to close the
Connection or not, as appropriate.
llvm-svn: 120723
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 63fb35783ea..be962727364 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -32,7 +32,7 @@ using namespace lldb_private; // GDBRemoteCommunication constructor //---------------------------------------------------------------------- GDBRemoteCommunication::GDBRemoteCommunication() : - Communication("gdb-remote.packets"), + Communication("gdb-remote.packets", true), m_send_acks (true), m_rx_packet_listener ("gdbremote.rx_packet"), m_sequence_mutex (Mutex::eMutexTypeRecursive), |