diff --git a/src/Cafe/HW/Espresso/Debugger/GDBBreakpoints.h b/src/Cafe/HW/Espresso/Debugger/GDBBreakpoints.h index dc538a4c..b86bd9a6 100644 --- a/src/Cafe/HW/Espresso/Debugger/GDBBreakpoints.h +++ b/src/Cafe/HW/Espresso/Debugger/GDBBreakpoints.h @@ -1,6 +1,6 @@ #include -#if BOOST_OS_LINUX +#if defined(ARCH_X86_64) && BOOST_OS_LINUX && FALSE #include #include #include @@ -189,7 +189,8 @@ public: SetThreadContext(hThread, &ctx); ResumeThread(hThread); } -#elif defined(ARCH_X86_64) && BOOST_OS_LINUX + // todo: port the following code to all unix platforms, they seem to differ quite a bit +#elif defined(ARCH_X86_64) && BOOST_OS_LINUX && FALSE for (auto& hThreadNH : coreinit::OSGetSchedulerThreads()) { pid_t pid = (pid_t)(uintptr_t)hThreadNH; @@ -243,7 +244,7 @@ public: SetThreadContext(hThread, &ctx); ResumeThread(hThread); } -#elif defined(ARCH_X86_64) && BOOST_OS_LINUX +#elif defined(ARCH_X86_64) && BOOST_OS_LINUX && FALSE for (auto& hThreadNH : coreinit::OSGetSchedulerThreads()) { pid_t pid = (pid_t)(uintptr_t)hThreadNH;