Zachary T Welch wrote:
> Hi all,
> 
> These patches clean up the server and system startup.  The first patch
> factors the GDB server setup to be more conducive to deferred
> initialization of targets (in a later series).
> 
> The second provides the 'noinit' command which can be used in a script
> to removing 'init' from the end of the startup sequence.  Scripts
> that do not add this command will continue to see the same behavior, but
> this allows new scripts to defer initialization to be done through the
> TCL server or by hand over telnet.  
> 
> The later use case is particular useful in order to interactively learn
> the command set with help.  The final patch takes advantage of this and
> hides those commands which cannot be used in the current command mode.
> 

Hi,

Just done a quick test on native win32 and this breaks the server.
As win32 requires that WSAStartup is called before any socket operations.

The failure is in gdb_target_start that is called before server_init.
I can look into a fix, but struggle to keep up with all the code changes.

Cheers
Spen
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to