GBA Debugger defaults to loopback address

This commit is contained in:
unknown 2024-01-19 20:34:06 -05:00 committed by Vicki Pfau
parent 858c94e5ee
commit 3253c5dd32
1 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,11 @@ struct mDebugger* mDebuggerCreate(enum mDebuggerType type, struct mCore* core) {
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: