mirror of
https://github.com/libretro/mgba.git
synced 2024-11-26 17:50:26 +00:00
GBA Debugger defaults to loopback address
This commit is contained in:
parent
e5b14977ce
commit
6243a57832
@ -54,7 +54,11 @@ struct mDebuggerModule* mDebuggerCreateModule(enum mDebuggerType type, struct mC
|
||||
case DEBUGGER_GDB:
|
||||
#ifdef USE_GDB_STUB
|
||||
GDBStubCreate(&debugger->gdb);
|
||||
GDBStubListen(&debugger->gdb, 2345, 0, GDB_WATCHPOINT_STANDARD_LOGIC);
|
||||
struct Address localHost = {
|
||||
.version = IPV4,
|
||||
.ipv4 = 0x7F000001
|
||||
};
|
||||
GDBStubListen(&debugger->gdb, 2345, &localHost, GDB_WATCHPOINT_STANDARD_LOGIC);
|
||||
break;
|
||||
#endif
|
||||
case DEBUGGER_NONE:
|
||||
|
Loading…
Reference in New Issue
Block a user