mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #2368 from randomstuff/gdb-unix
GDB stub over UNIX socket
This commit is contained in:
@ -326,6 +326,14 @@ static void CpuThread()
|
||||
|
||||
|
||||
#ifdef USE_GDBSTUB
|
||||
#ifndef _WIN32
|
||||
if (!_CoreParameter.gdb_socket.empty())
|
||||
{
|
||||
gdb_init_local(_CoreParameter.gdb_socket.data());
|
||||
gdb_break();
|
||||
}
|
||||
else
|
||||
#endif
|
||||
if (_CoreParameter.iGDBPort > 0)
|
||||
{
|
||||
gdb_init(_CoreParameter.iGDBPort);
|
||||
|
Reference in New Issue
Block a user