[Lldb-commits] [lldb] r279920 - Fix some build bot breakages.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Sat Aug 27 09:38:12 PDT 2016
Author: zturner
Date: Sat Aug 27 11:38:11 2016
New Revision: 279920
URL: http://llvm.org/viewvc/llvm-project?rev=279920&view=rev
Log:
Fix some build bot breakages.
There was some code that was ifdef'ed out that I didn't catch
in my earlier patch.
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp?rev=279920&r1=279919&r2=279920&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp Sat Aug 27 11:38:11 2016
@@ -418,7 +418,7 @@ GDBRemoteCommunicationServerCommon::Hand
{
StreamString response;
response.PutCStringAsRawHex8 (name.c_str());
- return SendPacketNoLock (response.GetData(), response.GetSize());
+ return SendPacketNoLock (response.GetString());
}
}
if (log)
@@ -442,7 +442,7 @@ GDBRemoteCommunicationServerCommon::Hand
{
StreamString response;
response.PutCStringAsRawHex8 (name.c_str());
- return SendPacketNoLock (response.GetData(), response.GetSize());
+ return SendPacketNoLock (response.GetString());
}
}
#endif
@@ -561,7 +561,7 @@ GDBRemoteCommunicationServerCommon::Hand
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::Hand
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::Hand
{
response.Printf ("-1,%i", EINVAL);
}
- return SendPacketNoLock(response.GetData(), response.GetSize());
+ return SendPacketNoLock(response.GetString());
}
}
return SendErrorResponse(27);
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp?rev=279920&r1=279919&r2=279920&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp Sat Aug 27 11:38:11 2016
@@ -217,7 +217,7 @@ GDBRemoteCommunicationServerPlatform::Ha
response.PutChar(';');
}
- PacketResult packet_result = SendPacketNoLock(response.GetData(), response.GetSize());
+ PacketResult packet_result = SendPacketNoLock(response.GetString());
if (packet_result != PacketResult::Success)
{
if (debugserver_pid != LLDB_INVALID_PROCESS_ID)
More information about the lldb-commits
mailing list