gdb_main: don't print debug for vMustReplyEmpty packets

This commit is contained in:
Rafael Silva 2022-08-19 15:14:40 +01:00 committed by Rachel Mant
parent 79575cc8a9
commit b16e55da30
1 changed files with 4 additions and 1 deletions

View File

@ -668,7 +668,10 @@ static void handle_v_packet(char *packet, const size_t plen)
gdb_putpacketz("OK");
} else {
DEBUG_GDB("*** Unsupported packet: %s\n", packet);
/* The vMustReplyEmpty is used as a feature test to check how gdbserver handles unknown packets */
/* print only actually unknown packets */
if (strcmp(packet, "vMustReplyEmpty") != 0)
DEBUG_GDB("*** Unsupported packet: %s\n", packet);
gdb_putpacket("", 0);
}
}