thermosphere: fix reporting logic of initial break event

This commit is contained in:
TuxSH
2020-02-01 16:20:45 +00:00
parent 18ca273107
commit fe3badcdf7
3 changed files with 10 additions and 7 deletions

View File

@@ -345,7 +345,7 @@ GDB_DECLARE_HANDLER(GetStopReason)
bool nonStop = (ctx->flags & GDB_FLAG_NONSTOP) != 0;
if (!nonStop) {
// Full-stop:
return GDB_SendStopReply(ctx, ctx->lastDebugEvent, true);
return GDB_SendStopReply(ctx, ctx->lastDebugEvent, false);
} else {
// Non-stop, start new vStopped sequence
ctx->sentDebugEventCoreList = 0;