diff options
author | Zachary Turner <zturner@google.com> | 2016-08-27 16:38:11 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-08-27 16:38:11 +0000 |
commit | 70a5ef15bdf637e90f0585104eb6abbe3abcb036 (patch) | |
tree | dc16b5836d0171c9df09f2f6d3d0917fa969de94 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | |
parent | 05c4ceba3df607436d3952c2aa3a25be8f0064d8 (diff) | |
download | bcm5719-llvm-70a5ef15bdf637e90f0585104eb6abbe3abcb036.tar.gz bcm5719-llvm-70a5ef15bdf637e90f0585104eb6abbe3abcb036.zip |
Fix some build bot breakages.
There was some code that was ifdef'ed out that I didn't catch
in my earlier patch.
llvm-svn: 279920
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp index 1472b65b607..bf9a25e48cb 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp @@ -418,7 +418,7 @@ GDBRemoteCommunicationServerCommon::Handle_qUserName (StringExtractorGDBRemote & { StreamString response; response.PutCStringAsRawHex8 (name.c_str()); - return SendPacketNoLock (response.GetData(), response.GetSize()); + return SendPacketNoLock (response.GetString()); } } if (log) @@ -442,7 +442,7 @@ GDBRemoteCommunicationServerCommon::Handle_qGroupName (StringExtractorGDBRemote { StreamString response; response.PutCStringAsRawHex8 (name.c_str()); - return SendPacketNoLock (response.GetData(), response.GetSize()); + return SendPacketNoLock (response.GetString()); } } #endif @@ -561,7 +561,7 @@ GDBRemoteCommunicationServerCommon::Handle_vFile_pRead (StringExtractorGDBRemote if (count == UINT64_MAX) { response.Printf("F-1:%i", EINVAL); - return SendPacketNoLock(response.GetData(), response.GetSize()); + return SendPacketNoLock(response.GetString()); } std::string buffer(count, 0); @@ -576,7 +576,7 @@ GDBRemoteCommunicationServerCommon::Handle_vFile_pRead (StringExtractorGDBRemote response.PutChar(';'); response.PutEscapedBytes(&buffer[0], bytes_read); } - return SendPacketNoLock(response.GetData(), response.GetSize()); + return SendPacketNoLock(response.GetString()); } } return SendErrorResponse(21); @@ -614,7 +614,7 @@ GDBRemoteCommunicationServerCommon::Handle_vFile_pWrite (StringExtractorGDBRemot { response.Printf ("-1,%i", EINVAL); } - return SendPacketNoLock(response.GetData(), response.GetSize()); + return SendPacketNoLock(response.GetString()); } } return SendErrorResponse(27); |