mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
GDB Server: fix and cleanup
Move source files to Emu/GDB.cpp, GDB.h Remove "WITH_GDB" option, enable GDB Server by default. Change class name to gdb_thread. Alias for external access gdb_server. Change config option name to "GDB Server" Bind on 127.0.0.1 by default.
This commit is contained in:
parent
9d4de51cb6
commit
a29d4150df
10 changed files with 192 additions and 208 deletions
|
@ -4,7 +4,7 @@
|
|||
#include "Emu/System.h"
|
||||
#include "Emu/Memory/vm_locking.h"
|
||||
#include "Emu/IdManager.h"
|
||||
#include "Utilities/GDBDebugServer.h"
|
||||
#include "Emu/GDB.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/Cell/SPUThread.h"
|
||||
|
||||
|
@ -194,12 +194,10 @@ cpu_thread::cpu_thread(u32 id)
|
|||
|
||||
bool cpu_thread::check_state() noexcept
|
||||
{
|
||||
#ifdef WITH_GDB_DEBUGGER
|
||||
if (state & cpu_flag::dbg_pause)
|
||||
{
|
||||
fxm::get<GDBDebugServer>()->pause_from(this);
|
||||
g_fxo->get<gdb_server>()->pause_from(this);
|
||||
}
|
||||
#endif
|
||||
|
||||
bool cpu_sleep_called = false;
|
||||
bool cpu_flag_memory = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue