* fixed malloc corruption in target->debug_reason

* GDB remote server will now remain online even if the target
	  is in a funny state, e.g. if it requires a reset, it is
	  running while GDB is not in the continue or step packet,
	  e.g. via monitor resume/halt commands in GDB script.
	* Added some _DEBUG_GDB_IO_ debug tools
	* Fixed a couple of GDB server lockups, e.g. when O packets
	  detect a severed connection
	* added ACK upon connection (send +).
	* added keep-alive messages to reset so GDB protocol remains happy.
	* fixed crash when timing out connection to GDB

git-svn-id: svn://svn.berlios.de/openocd/trunk@445 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-03-05 10:28:32 +00:00
parent 6445cc6479
commit 6d95014674
5 changed files with 130 additions and 116 deletions

View File

@@ -71,6 +71,7 @@ int add_connection(service_t *service, command_context_t *cmd_ctx)
close_socket(c->fd);
INFO("attempted '%s' connection rejected", service->name);
free(c);
return retval;
}
/* add to the end of linked list */