summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-03-21 23:58:51 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-03-21 23:58:51 +0000
commit4c6615568b9e3139c03764244673fc7b2e718e54 (patch)
tree9f8a6f8b67fa964929ce935b38583929bbc5c534 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
parent7642289780b33b0a9eafea01ef7cd3869aef1f4f (diff)
downloadbcm5719-llvm-4c6615568b9e3139c03764244673fc7b2e718e54.tar.gz
bcm5719-llvm-4c6615568b9e3139c03764244673fc7b2e718e54.zip
[Reproducers] Fix log statements
This isn't python where you can omit the index inside `{}`. llvm-svn: 356725
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
index 1fdb688b0ca..378cac6f6ea 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
@@ -123,10 +123,10 @@ GDBRemoteCommunicationReplayServer::GetPacketAndSendResponse(
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::GetPacketAndSendResponse(
if (entry.type == GDBRemoteCommunicationHistory::ePacketTypeInvalid) {
LLDB_LOG(
log,
- "GDBRemoteCommunicationReplayServer skipped invalid packet: '{}'\n",
+ "GDBRemoteCommunicationReplayServer skipped invalid packet: '{0}'",
packet.GetStringRef());
continue;
}
OpenPOWER on IntegriCloud