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

@@ -25,15 +25,12 @@
#include "Core/HW/SystemTimers.h"
#include "Core/Host.h"
#include "Core/PowerPC/CPUCoreBase.h"
#include "Core/PowerPC/GDBStub.h"
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include "Core/PowerPC/JitInterface.h"
#include "Core/PowerPC/MMU.h"
#include "Core/PowerPC/PPCSymbolDB.h"
#ifdef USE_GDBSTUB
#include "Core/PowerPC/GDBStub.h"
#endif
namespace PowerPC
{
// STATE_TO_SAVE
@@ -617,9 +614,8 @@ void CheckBreakPoints()
if (PowerPC::breakpoints.IsBreakPointBreakOnHit(PC))
{
CPU::Break();
#ifdef USE_GDBSTUB
gdb_takeControl();
#endif
if (gdb_active())
gdb_takeControl();
}
if (PowerPC::breakpoints.IsBreakPointLogOnHit(PC))
{