Commit d52d7f69 authored by oharboe's avatar oharboe
Browse files

GDB timeout fix. If a script takes a long time and does not produce any...

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
parent 85fc1e06
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment