From: Øyvind Harboe Date: Wed, 17 Mar 2010 11:59:33 +0000 (+0100) Subject: gdb: long running "monitor mww" now works w/gdb X-Git-Tag: v0.5.0-rc1~830 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cc197c808625d9afa5e4c316122d59b71fe8ee44;p=openocd gdb: long running "monitor mww" now works w/gdb invoke keep_alive() to make sure that the default 2000ms timeout does not trigger. Signed-off-by: Øyvind Harboe --- diff --git a/src/target/target.c b/src/target/target.c index 91fe7874..2c88a6fd 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -2355,6 +2355,8 @@ static int target_fill_mem(struct target *target, { break; } + /* avoid GDB timeouts */ + keep_alive(); } free(target_buf);