Unless I hear objections, I plan to push this support in the not too distant future.
The current support for pipes does not support named pipes, and it is also gdb specific. I've got it coded up and ready for testing. I broken apart this support in as many small commits as possible, each of which can be pushed to master and receive some testing + resolution before I move on to the next one. The branch is in oharboe/tclpipe: http://repo.or.cz/w/openocd/oharboe.git Notes: - The "-p" option and it's corresponding global variable is gone. Use "-c "log_output openocd.log;gdb_port pipe" to achieve the same. - I am using the "foo_port" configuration options to pass a string down to the code that does the connect. "pipe" means use stdin/out pipe, an integer means tcp/ip port on localhost, any other string is interpreted as a named pipe. - the server listens on the named pipe and then opens up an output pipe. If the name of the input pipe is "abc" then the name of the output pipe is "abco" (o for output from OpenOCD). - I have purposely kept the somewhat misleading "port" names because it makes the code "more rebasable". Once this series is pushed, I intend to go back and do a bit of renaming of variables and fix up the documentation. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
