projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
830e76f
)
arm-jtag-ew: Send GDB keep_alive() messages when logging USB communication
author
Simon Barner
<barner@gmx.de>
Fri, 16 Sep 2011 19:15:19 +0000
(21:15 +0200)
committer
Andreas Fritiofson
<andreas.fritiofson@gmail.com>
Sat, 8 Oct 2011 21:10:20 +0000
(23:10 +0200)
- Ticket: #35
src/jtag/drivers/arm-jtag-ew.c
patch
|
blob
|
history
diff --git
a/src/jtag/drivers/arm-jtag-ew.c
b/src/jtag/drivers/arm-jtag-ew.c
index b0c522f7735a31791677d36492c8e8dbed4442ac..6af33046c1fbc323958e1a12961c04ab9250df0a 100644
(file)
--- 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