summaryrefslogtreecommitdiff
path: root/src/helper/log.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-05 12:07:02 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-05 12:07:02 +0000
commite03658ee07edf5ff15afdda0b62f555ef96b56dc (patch)
tree2bbd84bb0317c0ca1fa751cb3b956dfc94fa2705 /src/helper/log.c
parenta83583e926d74c1b02c60ef10ec8794d2f9bb78e (diff)
downloadopenocd+libswd-e03658ee07edf5ff15afdda0b62f555ef96b56dc.tar.gz
openocd+libswd-e03658ee07edf5ff15afdda0b62f555ef96b56dc.tar.bz2
openocd+libswd-e03658ee07edf5ff15afdda0b62f555ef96b56dc.tar.xz
openocd+libswd-e03658ee07edf5ff15afdda0b62f555ef96b56dc.zip
made warning about keep_alive() not being invoked more helpful
git-svn-id: svn://svn.berlios.de/openocd/trunk@1606 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/log.c')
-rw-r--r--src/helper/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/log.c b/src/helper/log.c
index 8eea1ac0..c603c7e1 100644
--- a/src/helper/log.c
+++ b/src/helper/log.c
@@ -389,7 +389,7 @@ void keep_alive()
current_time=timeval_ms();
if (current_time-last_time>1000)
{
- LOG_WARNING("BUG: keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not sent! (%lld)", current_time-last_time);
+ LOG_WARNING("keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not sent! (%lld). Workaround: increase \"set remotetimeout\" in GDB", current_time-last_time);
}
if (current_time-last_time>500)
{