summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-03-17 12:59:33 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-03-17 12:59:33 +0100
commitcc197c808625d9afa5e4c316122d59b71fe8ee44 (patch)
treeb8fbbf54305ad633ef2b05d06bd85dc8723ea7b0 /src
parentbf71e34cbf874fcf568742283cfa96360a9c75e1 (diff)
downloadopenocd+libswd-cc197c808625d9afa5e4c316122d59b71fe8ee44.tar.gz
openocd+libswd-cc197c808625d9afa5e4c316122d59b71fe8ee44.tar.bz2
openocd+libswd-cc197c808625d9afa5e4c316122d59b71fe8ee44.tar.xz
openocd+libswd-cc197c808625d9afa5e4c316122d59b71fe8ee44.zip
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 <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r--src/target/target.c2
1 files changed, 2 insertions, 0 deletions
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);