Hi David,

Well, this also works for me:


*** src/server/server.c 2009-12-22 07:52:03.000000000 +1100
--- src/server/server.c.new     2010-01-08 15:57:32.000000000 +1100
***************
*** 565,571 ****
  {
        shutdown_openocd = 1;
  
!       return ERROR_COMMAND_CLOSE_CONNECTION;
  }
  
  static const struct command_registration server_command_handlers[] = {
--- 565,571 ----
  {
        shutdown_openocd = 1;
  
!       return ERROR_OK;
  }
  
  static const struct command_registration server_command_handlers[] = {



Unfortunately, I am not sufficiently familiar with the code to assess all the 
side-effects. I assume this is as the code was originally written. Again I'm 
not familiar with the history of the project so I don't know why someone might 
have substituted the ERROR_COMMAND_CLOSE_CONNECTION return value. A hack?

Regards,

Robert Jenssen
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to