Implement HBLDR_DebugNextApplicationByForce

also prevent port 4003 (next application) from being extended-remote
This commit is contained in:
TuxSH
2019-04-18 22:28:23 +02:00
parent 0b33134f6c
commit 9e1a9f2842
4 changed files with 67 additions and 21 deletions

View File

@@ -229,7 +229,7 @@ GDBContext *GDB_GetClient(GDBServer *server, u16 port)
ctx->state = GDB_STATE_CONNECTED;
ctx->parent = server;
}
else
else if (port >= GDB_PORT_BASE && port < GDB_PORT_BASE + MAX_DEBUG)
{
// Grab a free context
u32 id;