Add GDB Stub

This commit is contained in:
Coxxs
2025-08-11 15:06:41 -05:00
committed by KeatonTheBot
parent d5c9bc662c
commit ef72e9b790
57 changed files with 3213 additions and 26 deletions
@@ -7,6 +7,7 @@ using System.Runtime.CompilerServices;
#else
using System.Runtime.InteropServices;
#endif
using ExecutionContext = ARMeilleure.State.ExecutionContext;
namespace ARMeilleure.Instructions
{
@@ -300,7 +301,11 @@ namespace ARMeilleure.Instructions
ExecutionContext context = GetContext();
context.CheckInterrupt();
// If debugging, we'll handle interrupts outside
if (!Optimizations.EnableDebugging)
{
context.CheckInterrupt();
}
Statistics.ResumeTimer();