mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 19:26:55 -04:00
thermosphere: gdb/debug: avoid pause/unpause race condition in vCont + bugfix
This commit is contained in:
parent
9ef2532b9d
commit
36ca87491d
6 changed files with 39 additions and 15 deletions
|
@ -347,7 +347,8 @@ GDB_DECLARE_HANDLER(ContinueOrStepDeprecated)
|
|||
debugManagerSetSteppingRange(coreId, 0, 0);
|
||||
}
|
||||
|
||||
debugManagerUnpauseCores(coreList, ssMask);
|
||||
debugManagerSetSingleStepCoreList(ssMask);
|
||||
debugManagerUnpauseCores(coreList);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -461,8 +462,9 @@ GDB_DECLARE_VERBOSE_HANDLER(Continue)
|
|||
cmd = nextCmd;
|
||||
}
|
||||
|
||||
debugManagerSetSingleStepCoreList(stepCoreList);
|
||||
debugManagerBreakCores(stopCoreList);
|
||||
debugManagerUnpauseCores(continueCoreList, stepCoreList);
|
||||
debugManagerContinueCores(continueCoreList);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue