mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-19 03:39:23 +10:00
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
This commit is contained in:
parent
85fc1e06fa
commit
d52d7f69be
@ -412,6 +412,8 @@ int command_run_line(command_context_t *context, char *line)
|
||||
int retval;
|
||||
int i;
|
||||
|
||||
LOG_USER_N("%s", ""); /* Keep GDB connection alive*/
|
||||
|
||||
if ((!context) || (!line))
|
||||
return ERROR_INVALID_ARGUMENTS;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user