gdb stub: since debug info is printed anyway, show the actual command

This commit is contained in:
rofl0r 2021-10-24 15:02:17 +00:00
parent d5693c54cf
commit ed5ff51c0c
1 changed files with 1 additions and 1 deletions

View File

@ -507,8 +507,8 @@ readPacket_gdb( SOCKET_TYPE sock, struct packet_reader_gdb *packet) {
case MID_PACKET_READ_STATE:
if ( cur_byte == '#') {
//DEBUG_LOG( "\nAbout to get checksum\n");
packet->buffer[packet->pos_index] = '\0';
DEBUG_LOG( "\nAbout to get checksum for %s\n", packet->buffer);
packet->state = FIRST_CHECKSUM_READ_STATE;
}
else if ( packet->pos_index >= BUFMAX - 1) {