mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-26 19:31:39 -05:00
GDBStub: remove the cmake option and the ifdefs
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user