From e03658ee07edf5ff15afdda0b62f555ef96b56dc Mon Sep 17 00:00:00 2001
From: oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Tue, 5 May 2009 12:07:02 +0000
Subject: [PATCH] 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
---
 src/helper/log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/helper/log.c b/src/helper/log.c
index 8eea1ac0a..c603c7e18 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)
 	{
-- 
GitLab