gdb: Update DebugPc during svc call

This commit is contained in:
Coxxs 2025-06-21 05:28:12 +08:00
parent 0d7abc0c4e
commit f511c4dd1c

View file

@ -169,6 +169,11 @@ namespace ARMeilleure.State
internal void OnSupervisorCall(ulong address, int imm)
{
if (Optimizations.EnableDebugging)
{
DebugPc = Pc; // TODO: Is this the best place to update DebugPc?
}
_supervisorCallback?.Invoke(this, address, imm);
}