diff options
author | Jason Molenda <jmolenda@apple.com> | 2015-07-15 00:16:09 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2015-07-15 00:16:09 +0000 |
commit | 2a66738f5ca0e3dc9fa86924f718f5556449c907 (patch) | |
tree | 01d810bd7e0a170bf87106f839a7f6d599d736ff /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | e46f7ef385950cfc9f5b910c4dded6a0315a748d (diff) | |
download | bcm5719-llvm-2a66738f5ca0e3dc9fa86924f718f5556449c907.tar.gz bcm5719-llvm-2a66738f5ca0e3dc9fa86924f718f5556449c907.zip |
Correct length of packet that GDBRemoteCommunicationClient::Detach
should send when detaching and leaving the remote process/system
halted. Previously only the 'D' initial char was sent, which
resumed the process like a normal detach.
llvm-svn: 242256
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 2a253c5a99e..b9edfad78ab 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp @@ -2311,7 +2311,7 @@ GDBRemoteCommunicationClient::Detach (bool keep_stopped) else { StringExtractorGDBRemote response; - PacketResult packet_result = SendPacketAndWaitForResponse ("D1", 1, response, false); + PacketResult packet_result = SendPacketAndWaitForResponse ("D1", 2, response, false); if (packet_result != PacketResult::Success) error.SetErrorString ("Sending extended disconnect packet failed."); } |