aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-08-31 07:49:37 +0000
committerPavel Labath <labath@google.com>2016-08-31 07:49:37 +0000
commit1e3b086749d4af4cdc44482d2b6da86ac40040db (patch)
treed3c442a6f7d2dbaf28a7957c9ca3725ae19b5cca /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
parente4f590faeb10d288dc8821de56f4df14ff74d0e6 (diff)
downloadllvm-1e3b086749d4af4cdc44482d2b6da86ac40040db.zip
llvm-1e3b086749d4af4cdc44482d2b6da86ac40040db.tar.gz
llvm-1e3b086749d4af4cdc44482d2b6da86ac40040db.tar.bz2
Revert r280200 and put it a proper fix
PeekChar returns a character, we want the whole string there. llvm-svn: 280204
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
index 89d5f38..44566c8 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
@@ -1257,7 +1257,8 @@ GDBRemoteCommunicationServerLLGS::Handle_c (StringExtractorGDBRemote &packet)
if (has_continue_address)
{
if (log)
- log->Printf ("GDBRemoteCommunicationServerLLGS::%s not implemented for c{address} variant [%s remains]", __FUNCTION__, packet.Peek ());
+ log->Printf("GDBRemoteCommunicationServerLLGS::%s not implemented for c{address} variant [%s remains]",
+ __FUNCTION__, packet.Peek().str().c_str());
return SendUnimplementedResponse (packet.GetStringRef().c_str());
}