correct assert in gdb stub
This commit is contained in:
parent
5959009ebd
commit
8d4f419546
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue