mirror of https://github.com/mgba-emu/mgba.git
Send hangup `$W00` to GDB
This commit is contained in:
parent
d031892e55
commit
e5eeb70953
|
@ -825,6 +825,8 @@ cleanup:
|
|||
}
|
||||
|
||||
void GDBStubHangup(struct GDBStub* stub) {
|
||||
strncpy(stub->outgoing, "W00", GDB_STUB_MAX_LINE - 4);
|
||||
_sendMessage(stub);
|
||||
if (!SOCKET_FAILED(stub->connection)) {
|
||||
SocketClose(stub->connection);
|
||||
stub->connection = INVALID_SOCKET;
|
||||
|
|
Loading…
Reference in New Issue