gdb: fix correct shutdown when using pipes 93/993/3
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 22 Nov 2012 11:49:52 +0000 (11:49 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 24 Dec 2012 11:00:52 +0000 (11:00 +0000)
commit0466ee7e4a54d1415dea9a8fbe9b361b04895db5
treebe561be2c09de44b8028ee87496d26aaeedce0c9
parentc3e537a340307f9f94b5b112ed0092b87b8cb640
gdb: fix correct shutdown when using pipes

50d5441e2a615fb2c44b41a777e4373901f7a2e6 commit added a regression when
using pipes with GDB, OpenOCD would appear to hang when exiting GDB.

This fixes that behaviour so we shutdown correctly.

Change-Id: I9b337c2bdd41b1966de1c7631118257afcbfa6bd
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/993
Tested-by: jenkins
src/server/server.c