forked from OSchip/llvm-project
[Reproducer] Assert on unexpected packet
I'm not able to reproduce the reproducer flakiness we're seeing on GreenDragon. I want to add this assert to find out if the GDB remote packets are somehow getting out of sync when this happens. llvm-svn: 364852
This commit is contained in:
parent
3f722d40c5
commit
730bed5c83
|
@ -142,6 +142,7 @@ GDBRemoteCommunicationReplayServer::GetPacketAndSendResponse(
|
|||
entry.packet.data);
|
||||
LLDB_LOG(log, "GDBRemoteCommunicationReplayServer actual packet: '{0}'",
|
||||
packet.GetStringRef());
|
||||
assert(false && "Encountered unexpected packet during replay");
|
||||
return PacketResult::ErrorSendFailed;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue