In relation to the following question, I have produced the following script snippet.
# Open openocd and pipe data throudh stdin/stdout. # Openocd quits after gdb exits. target remote | /usr/local/bin/openocd -f linux_config.cfg
Instead of opening a port (default 3333),
openocd pipes it's input and output to gdb.
This works a charm in Ubuntu, but I need it in Windows 7 as well. Is there a way to use unnamed pipes in .gdbinit udner Windows? I am using the this toolchain: Olimex