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 /src | |
parent | 85fc1e06fa086dc12dddf20d826d705e6505250d (diff) | |
download | openocd+libswd-d52d7f69beb2b313d92c79e45b5d71a1729e43a4.tar.gz openocd+libswd-d52d7f69beb2b313d92c79e45b5d71a1729e43a4.tar.bz2 openocd+libswd-d52d7f69beb2b313d92c79e45b5d71a1729e43a4.tar.xz openocd+libswd-d52d7f69beb2b313d92c79e45b5d71a1729e43a4.zip |
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
Diffstat (limited to 'src')
-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 3cf531b7..968a8e4b 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; |