From 94e75e0c06c4d683b33a03aee17b80c8a59bbd47 Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 18 Jul 2008 10:20:10 +0000 Subject: 1. GDB will print cryptic error messages if it is not fed keep-alive packets within the last 2000ms. To fix this, add keep_alive() if you are spending >1000ms in an algorithm thus holding up the server loop. target_call_timer_callbacks() invokes keep_alive(). 2. post_reset script is now executed at normal JTAG speed and not reset speed. 3. Resume is now synchronous again. Hopefully it will work this time. git-svn-id: svn://svn.berlios.de/openocd/trunk@826 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/server/server.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/server') diff --git a/src/server/server.c b/src/server/server.c index 2d910a1a..ce0ee6cd 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -310,6 +310,7 @@ int server_loop(command_context_t *command_context) #endif openocd_sleep_prelude(); + kept_alive(); // Only while we're sleeping we'll let others run retval = select(fd_max + 1, &read_fds, NULL, NULL, &tv); openocd_sleep_postlude(); -- cgit v1.2.3