thermosphere: gdb: add missing command list entries, fix warnings again

This commit is contained in:
TuxSH
2020-01-31 02:28:51 +00:00
parent 6becc5dc8a
commit 057d3e5e1c
11 changed files with 31 additions and 23 deletions

View File

@@ -10,6 +10,7 @@
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "../pattern_utils.h"
u8 GDB_ComputeChecksum(const char *packetData, size_t len)
@@ -236,7 +237,7 @@ int GDB_ReceivePacket(GDBContext *ctx)
}
// Set helper attributes, change '#' to NUL
ctx->commandEnd = delimPos;
ctx->commandEnd = ctx->buffer + delimPos;
ctx->buffer[delimPos] = '\0';
return (int)(delimPos + 2);