gdb: long running "monitor mww" now works w/gdb
authorØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 17 Mar 2010 11:59:33 +0000 (12:59 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 17 Mar 2010 11:59:33 +0000 (12:59 +0100)
invoke keep_alive() to make sure that the default 2000ms
timeout does not trigger.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/target.c

index 91fe78741a712c60c2c8eb7917e4fc30b1d005b1..2c88a6fd87d2868d871d93e3e7f41dc3cbc3a90e 100644 (file)
@@ -2355,6 +2355,8 @@ static int target_fill_mem(struct target *target,
                {
                        break;
                }
+               /* avoid GDB timeouts */
+               keep_alive();
        }
        free(target_buf);