arm-jtag-ew: Send GDB keep_alive() messages when logging USB communication

- Ticket: #35
This commit is contained in:
Simon Barner 2011-09-16 21:15:19 +02:00 committed by Andreas Fritiofson
parent 830e76fecd
commit e56e5a3929

View File

@ -847,6 +847,9 @@ static void armjtagew_debug_buffer(uint8_t *buffer, int length)
strcat(line, s);
}
LOG_DEBUG("%s", line);
// Prevent GDB timeout (writing to log might take some time)
keep_alive();
}
}
#endif