]> git.sur5r.net Git - openocd/commitdiff
GDB timeout fix. If a script takes a long time and does not produce any output, ping...
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 16 Jun 2008 18:40:31 +0000 (18:40 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 16 Jun 2008 18:40:31 +0000 (18:40 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@710 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/command.c

index 3cf531b7e6f6240b3b6b6a020b6f39c64c3d2cec..968a8e4b7eeb0c2dcd785e3cf41b0659919619f4 100644 (file)
@@ -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;