summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2010-11-19 20:47:54 +0000
committerCaroline Tice <ctice@apple.com>2010-11-19 20:47:54 +0000
commitefed613172d902cf2ce49f68dd36f15a29a34dab (patch)
tree9f2dd7ec50382f4e1c2ca600e0d06d60a9bee4c6 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
parent601e72c88a65fddc4525a3d5a19b51495a68ce82 (diff)
downloadbcm5719-llvm-efed613172d902cf2ce49f68dd36f15a29a34dab.tar.gz
bcm5719-llvm-efed613172d902cf2ce49f68dd36f15a29a34dab.zip
Add the ability to catch and do the right thing with Interrupts (often control-c)
and end-of-file (often control-d). llvm-svn: 119837
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
index ee03424e528..63fb35783ea 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -551,7 +551,8 @@ GDBRemoteCommunication::WaitForPacketNoLock (StringExtractorGDBRemote &response,
}
void
-GDBRemoteCommunication::AppendBytesToCache (const uint8_t *src, size_t src_len, bool broadcast)
+GDBRemoteCommunication::AppendBytesToCache (const uint8_t *src, size_t src_len, bool broadcast,
+ ConnectionStatus status)
{
// Put the packet data into the buffer in a thread safe fashion
Mutex::Locker locker(m_bytes_mutex);
OpenPOWER on IntegriCloud