diff options
author | Simon Barner <barner@gmx.de> | 2011-09-16 21:15:19 +0200 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2011-10-08 23:10:20 +0200 |
commit | e56e5a3929a05d18e560c8e37f1985aeb4b95cc9 (patch) | |
tree | 317fcd9df9839dee98e872a30eb7b146cec330e1 /src | |
parent | 830e76fecd9c8475234964d533e7bd79a179c6ca (diff) | |
download | riscv-openocd-e56e5a3929a05d18e560c8e37f1985aeb4b95cc9.zip riscv-openocd-e56e5a3929a05d18e560c8e37f1985aeb4b95cc9.tar.gz riscv-openocd-e56e5a3929a05d18e560c8e37f1985aeb4b95cc9.tar.bz2 |
arm-jtag-ew: Send GDB keep_alive() messages when logging USB communication
- Ticket: #35
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/drivers/arm-jtag-ew.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jtag/drivers/arm-jtag-ew.c b/src/jtag/drivers/arm-jtag-ew.c index b0c522f..6af3304 100644 --- a/src/jtag/drivers/arm-jtag-ew.c +++ b/src/jtag/drivers/arm-jtag-ew.c @@ -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 |