arm_dynarmic: Halt when BRK encountered
This commit is contained in:
parent
3b4a158230
commit
ef31487624
|
@ -82,6 +82,7 @@ public:
|
||||||
return;
|
return;
|
||||||
case Dynarmic::A64::Exception::Breakpoint:
|
case Dynarmic::A64::Exception::Breakpoint:
|
||||||
if (GDBStub::IsServerEnabled()) {
|
if (GDBStub::IsServerEnabled()) {
|
||||||
|
parent.jit->HaltExecution();
|
||||||
parent.SetPC(pc);
|
parent.SetPC(pc);
|
||||||
Kernel::Thread* thread = Kernel::GetCurrentThread();
|
Kernel::Thread* thread = Kernel::GetCurrentThread();
|
||||||
parent.SaveContext(thread->context);
|
parent.SaveContext(thread->context);
|
||||||
|
|
Loading…
Reference in a new issue