Author: jdevlieghere Date: Thu Mar 21 16:58:51 2019 New Revision: 356725 URL: http://llvm.org/viewvc/llvm-project?rev=356725&view=rev Log: [Reproducers] Fix log statements
This isn't python where you can omit the index inside `{}`. Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp?rev=356725&r1=356724&r2=356725&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp (original) +++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp Thu Mar 21 16:58:51 2019 @@ -123,10 +123,10 @@ GDBRemoteCommunicationReplayServer::GetP if (entry.type == GDBRemoteCommunicationHistory::ePacketTypeSend) { if (unexpected(entry.packet.data, packet.GetStringRef())) { LLDB_LOG(log, - "GDBRemoteCommunicationReplayServer expected packet: '{}'\n", + "GDBRemoteCommunicationReplayServer expected packet: '{0}'", entry.packet.data); LLDB_LOG(log, - "GDBRemoteCommunicationReplayServer actual packet: '{}'\n", + "GDBRemoteCommunicationReplayServer actual packet: '{0}'", packet.GetStringRef()); } @@ -143,7 +143,7 @@ GDBRemoteCommunicationReplayServer::GetP if (entry.type == GDBRemoteCommunicationHistory::ePacketTypeInvalid) { LLDB_LOG( log, - "GDBRemoteCommunicationReplayServer skipped invalid packet: '{}'\n", + "GDBRemoteCommunicationReplayServer skipped invalid packet: '{0}'", packet.GetStringRef()); continue; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits