From ef31487624ed3b73ceaae50aa78b9bd6a915ce2e Mon Sep 17 00:00:00 2001 From: MerryMage Date: Thu, 20 Sep 2018 19:12:42 +0100 Subject: arm_dynarmic: Halt when BRK encountered --- src/core/arm/dynarmic/arm_dynarmic.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/arm/dynarmic') diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp index 8b450dc54..32cd5746e 100644 --- a/src/core/arm/dynarmic/arm_dynarmic.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic.cpp @@ -82,6 +82,7 @@ public: return; case Dynarmic::A64::Exception::Breakpoint: if (GDBStub::IsServerEnabled()) { + parent.jit->HaltExecution(); parent.SetPC(pc); Kernel::Thread* thread = Kernel::GetCurrentThread(); parent.SaveContext(thread->context); -- cgit v1.2.3