diff options
author | Lioncash <mathew1800@gmail.com> | 2020-11-27 16:50:48 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-11-27 17:40:45 +0100 |
commit | 5bc4eabe36b7ef4dcd5ad8db1e944705655be432 (patch) | |
tree | 285ffb3801aa773cb3537f77153a9e432390f6b8 /src/core/arm/dynarmic/arm_dynarmic_64.cpp | |
parent | Merge pull request #5023 from lioncash/save-global (diff) | |
download | yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar.gz yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar.bz2 yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar.lz yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar.xz yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar.zst yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_64.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp index 9f170a224..5c2060d78 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp @@ -14,7 +14,6 @@ #include "core/arm/dynarmic/arm_exclusive_monitor.h" #include "core/core.h" #include "core/core_timing.h" -#include "core/gdbstub/gdbstub.h" #include "core/hardware_properties.h" #include "core/hle/kernel/process.h" #include "core/hle/kernel/scheduler.h" @@ -96,16 +95,6 @@ public: case Dynarmic::A64::Exception::Yield: return; case Dynarmic::A64::Exception::Breakpoint: - if (GDBStub::IsServerEnabled()) { - parent.jit->HaltExecution(); - parent.SetPC(pc); - Kernel::Thread* const thread = parent.system.CurrentScheduler().GetCurrentThread(); - parent.SaveContext(thread->GetContext64()); - GDBStub::Break(); - GDBStub::SendTrap(thread, 5); - return; - } - [[fallthrough]]; default: ASSERT_MSG(false, "ExceptionRaised(exception = {}, pc = {:08X}, code = {:08X})", static_cast<std::size_t>(exception), pc, MemoryReadCode(pc)); |