Skip to content

Commit 4c66155

Browse files
committed
[Reproducers] Fix log statements
This isn't python where you can omit the index inside `{}`. llvm-svn: 356725
1 parent 7642289 commit 4c66155

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ GDBRemoteCommunicationReplayServer::GetPacketAndSendResponse(
123123
if (entry.type == GDBRemoteCommunicationHistory::ePacketTypeSend) {
124124
if (unexpected(entry.packet.data, packet.GetStringRef())) {
125125
LLDB_LOG(log,
126-
"GDBRemoteCommunicationReplayServer expected packet: '{}'\n",
126+
"GDBRemoteCommunicationReplayServer expected packet: '{0}'",
127127
entry.packet.data);
128128
LLDB_LOG(log,
129-
"GDBRemoteCommunicationReplayServer actual packet: '{}'\n",
129+
"GDBRemoteCommunicationReplayServer actual packet: '{0}'",
130130
packet.GetStringRef());
131131
}
132132

@@ -143,7 +143,7 @@ GDBRemoteCommunicationReplayServer::GetPacketAndSendResponse(
143143
if (entry.type == GDBRemoteCommunicationHistory::ePacketTypeInvalid) {
144144
LLDB_LOG(
145145
log,
146-
"GDBRemoteCommunicationReplayServer skipped invalid packet: '{}'\n",
146+
"GDBRemoteCommunicationReplayServer skipped invalid packet: '{0}'",
147147
packet.GetStringRef());
148148
continue;
149149
}

0 commit comments

Comments
 (0)