diff options
author | Pavel Labath <labath@google.com> | 2016-09-23 09:11:49 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-09-23 09:11:49 +0000 |
commit | 0f8f0d369d719cf3cb785e294463722f94d05cc0 (patch) | |
tree | a0bc0f4b0b5500b9f07189d4e6131232a6975cb0 /lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp | |
parent | a77bcf5e42e3a31508f8a261935d14dc35353ed8 (diff) | |
download | bcm5719-llvm-0f8f0d369d719cf3cb785e294463722f94d05cc0.tar.gz bcm5719-llvm-0f8f0d369d719cf3cb785e294463722f94d05cc0.zip |
[gdb-remote] Remove the const char * version of SendPacketAndWaitForResponse
Switch all callers to use the StringRef version.
llvm-svn: 282236
Diffstat (limited to 'lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp')
-rw-r--r-- | lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp b/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp index 1aa54c31a1e..760ee77b1df 100644 --- a/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp +++ b/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp @@ -751,10 +751,9 @@ const UnixSignalsSP &PlatformRemoteGDBServer::GetRemoteUnixSignals() { // we'll guess the signal set based on the remote architecture. m_remote_signals_sp = UnixSignals::Create(GetRemoteSystemArchitecture()); - const char packet[] = "jSignalsInfo"; StringExtractorGDBRemote response; - auto result = m_gdb_client.SendPacketAndWaitForResponse( - packet, strlen(packet), response, false); + auto result = m_gdb_client.SendPacketAndWaitForResponse("jSignalsInfo", + response, false); if (result != decltype(result)::Success || response.GetResponseType() != response.eResponse) |