GDBStub: remove the cmake option and the ifdefs

This commit is contained in:
aldelaro5
2021-10-01 09:56:26 -04:00
parent 657bb00c01
commit 94a0f416eb
10 changed files with 13 additions and 60 deletions

View File

@ -12,13 +12,10 @@
#include "Common/Event.h"
#include "Core/Core.h"
#include "Core/Host.h"
#include "Core/PowerPC/GDBStub.h"
#include "Core/PowerPC/PowerPC.h"
#include "VideoCommon/Fifo.h"
#ifdef USE_GDBSTUB
#include "Core/PowerPC/GDBStub.h"
#endif
namespace CPU
{
// CPU Thread execution state.
@ -135,7 +132,6 @@ void Run()
// Wait for step command.
s_state_cpu_cvar.wait(state_lock, [&state_lock] {
ExecutePendingJobs(state_lock);
#ifdef USE_GDBSTUB
state_lock.unlock();
if (gdb_active() && gdb_hasControl())
{
@ -146,7 +142,6 @@ void Run()
s_state_cpu_step_instruction = true;
}
state_lock.lock();
#endif
return s_state_cpu_step_instruction || !IsStepping();
});
if (!IsStepping())