On Sun, 2009-11-29 at 14:33 -0800, 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.
Pushed. You can now run 'openocd -c noinit' to start in configuration mode. It should now be possible to set up everything interactively over a telnet session and run init yourself. :) Unfortunately, there are still bugs with this mode of operation. Running 'init' immediately causes a failure, because no interface is defined; however, the command mode has changed and you can no longer define one. I will fix this shortcoming soon enough. --Z _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
