correct assert in gdb stub

This commit is contained in:
RSDuck 2024-11-08 18:57:44 +01:00
parent 5959009ebd
commit 8d4f419546

View File

@ -113,7 +113,7 @@ Gdb::ReadResult GdbStub::ParseAndSetupPacket()
ReadResult result, prevResult;
while (true)
{
ReadResult result = TryParsePacket(i, packetStart, packetSize, packetContentSize);
result = TryParsePacket(i, packetStart, packetSize, packetContentSize);
if (result == ReadResult::NoPacket)
break;
if (result != ReadResult::CmdRecvd && result != ReadResult::Break)