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__archive__
parent
85fc1e06fa
commit
d52d7f69be
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue