summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-05-02 00:45:31 +0000
committerGreg Clayton <gclayton@apple.com>2014-05-02 00:45:31 +0000
commitf0066ad07fadc7c1386c65572e6d988dfd26610d (patch)
treebb4ae7aeedcca4c081697032a493465a2d21d42a /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
parent34a38d8efbde085814bbbb5d1d7c7fcb15897e42 (diff)
downloadbcm5719-llvm-f0066ad07fadc7c1386c65572e6d988dfd26610d.tar.gz
bcm5719-llvm-f0066ad07fadc7c1386c65572e6d988dfd26610d.zip
Fixed CTRL+C related issues:
- CTRL+C wasn't clearing the command in lldb - CTRL+C doesn't work in python macros in lldb - Ctrl+C no longer interrupts the running process that you attach to <rdar://problem/15949205> <rdar://problem/16778652> <rdar://problem/16774411> llvm-svn: 207816
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
index ffc948da9e9..9630b06e233 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -321,6 +321,7 @@ GDBRemoteCommunication::WaitForPacketWithTimeoutMicroSecondsNoLock (StringExtrac
switch (status)
{
case eConnectionStatusTimedOut:
+ case eConnectionStatusInterrupted:
timed_out = true;
break;
case eConnectionStatusSuccess:
OpenPOWER on IntegriCloud