gdb_server: enable keep-alive packets for qCRC packet
Change-Id: Ia384179bb83ad6b70bf385cc9d575e9ec58f76c7 Signed-off-by: Parshintsev Anatoly <anatoly.parshintsev@syntacore.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8227 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
126d8a0972
commit
22ddf62d75
|
@ -2845,7 +2845,9 @@ static int gdb_query_packet(struct connection *connection,
|
|||
|
||||
len = strtoul(separator + 1, NULL, 16);
|
||||
|
||||
gdb_connection->output_flag = GDB_OUTPUT_NOTIF;
|
||||
retval = target_checksum_memory(target, addr, len, &checksum);
|
||||
gdb_connection->output_flag = GDB_OUTPUT_NO;
|
||||
|
||||
if (retval == ERROR_OK) {
|
||||
snprintf(gdb_reply, 10, "C%8.8" PRIx32 "", checksum);
|
||||
|
|
Loading…
Reference in New Issue