gdb: Do not skip CheckInterrupt when gdb stub is enabled
When GDB stub is enabled, CheckSynchronization
is called too frequently because it skips _nativeContext.SetCounter(MinCountForCheck)
(called in CheckInterrupt()
), causing CheckSynchronization
to be constantly called in JIT. This could cause performance issue.
It also skips the call to the KProcess.InterruptHandler
, which causes some games to deadlock when GDB stub is enabled.
I'm not sure if this change will cause any side effects, but it seems GDB stub is still working correctly after this change.
This change will not affect regular users.
Edited by Coxxs