diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-06-16 18:40:31 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-06-16 18:40:31 +0000 |
commit | d52d7f69beb2b313d92c79e45b5d71a1729e43a4 (patch) | |
tree | cd6feef3ab30ace68f3ac7dd51e2e66c735d480f | |
parent | 85fc1e06fa086dc12dddf20d826d705e6505250d (diff) | |
download | riscv-openocd-d52d7f69beb2b313d92c79e45b5d71a1729e43a4.zip riscv-openocd-d52d7f69beb2b313d92c79e45b5d71a1729e43a4.tar.gz riscv-openocd-d52d7f69beb2b313d92c79e45b5d71a1729e43a4.tar.bz2 |
GDB timeout fix. If a script takes a long time and does not produce any output, ping between every command.
git-svn-id: svn://svn.berlios.de/openocd/trunk@710 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/helper/command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helper/command.c b/src/helper/command.c index 3cf531b..968a8e4 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -411,6 +411,8 @@ int command_run_line(command_context_t *context, char *line) char *words[128] = {0}; int retval; int i; + + LOG_USER_N("%s", ""); /* Keep GDB connection alive*/ if ((!context) || (!line)) return ERROR_INVALID_ARGUMENTS; |