From d52d7f69beb2b313d92c79e45b5d71a1729e43a4 Mon Sep 17 00:00:00 2001 From: oharboe Date: Mon, 16 Jun 2008 18:40:31 +0000 Subject: 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 --- src/helper/command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/helper') 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; -- cgit v1.2.3