]> git.sur5r.net Git - openocd/commit
gdbderver: fix gdb pipe startup overflow
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 5 Oct 2010 14:00:40 +0000 (15:00 +0100)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 5 Oct 2010 14:00:40 +0000 (15:00 +0100)
commitebe431879d26ca5c85021c80e18af7f91f09fa38
tree742afc75fe7f55d91599c606dc2ed95f9ef27110
parent7e4cf8db585841985115a6835d403613487993a2
gdbderver: fix gdb pipe startup overflow

When usng gdb pipes we need to keep openocd output at a minimum,
otherwise the gdb stdin will overflow and fail.
Make the calls to gdb_port and log_output synchronous to stop this.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/helper/options.c