1. GDB will print cryptic error messages if it is not fed keep-alive packets
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 18 Jul 2008 10:20:10 +0000 (10:20 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 18 Jul 2008 10:20:10 +0000 (10:20 +0000)
commit94e75e0c06c4d683b33a03aee17b80c8a59bbd47
tree0119048c905e9fa2d382ac62f69223b2de376092
parent7648d6b28793e8eb436a56682915185cb819ff5e
1. GDB will print cryptic error messages if it is not fed keep-alive packets
within the last 2000ms.

To fix this, add keep_alive() if you are spending >1000ms in an algorithm
thus holding up the server loop.

target_call_timer_callbacks() invokes keep_alive().

2. post_reset script is now executed at normal JTAG speed and not
reset speed.

3. Resume is now synchronous again. Hopefully it will work this time.

git-svn-id: svn://svn.berlios.de/openocd/trunk@826 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/helper/log.c
src/helper/log.h
src/server/server.c
src/target/target.c