correct assert in gdb stub

This commit is contained in:
RSDuck 2024-11-08 18:57:44 +01:00
parent 5959009ebd
commit 8d4f419546
1 changed files with 1 additions and 1 deletions

View File

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