From: oharboe Date: Tue, 5 May 2009 12:07:02 +0000 (+0000) Subject: made warning about keep_alive() not being invoked more helpful X-Git-Tag: v0.2.0~899 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e03658ee07edf5ff15afdda0b62f555ef96b56dc;p=openocd 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 --- 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) {