summaryrefslogtreecommitdiff
path: root/src/server/gdb_server.c
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-01-01 16:06:46 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-01-01 16:06:46 +0000
commitab87627c5c4154a3e30108f7e4dd07f5d95c4390 (patch)
treed6b48456554d83ff384ab95eea98b934d70a0a86 /src/server/gdb_server.c
parentf4d82deb36b857c6d60d9f31b60d58665a8d6216 (diff)
downloadopenocd+libswd-ab87627c5c4154a3e30108f7e4dd07f5d95c4390.tar.gz
openocd+libswd-ab87627c5c4154a3e30108f7e4dd07f5d95c4390.tar.bz2
openocd+libswd-ab87627c5c4154a3e30108f7e4dd07f5d95c4390.tar.xz
openocd+libswd-ab87627c5c4154a3e30108f7e4dd07f5d95c4390.zip
- add gdb pipe support to native win32 (--pipe option)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1294 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server/gdb_server.c')
-rw-r--r--src/server/gdb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 3f9e1e71..eb612c7a 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -126,7 +126,7 @@ int check_pending(connection_t *connection, int timeout_s, int *got_data)
tv.tv_sec = timeout_s;
tv.tv_usec = 0;
- if (select(connection->fd + 1, &read_fds, NULL, NULL, &tv) == 0)
+ if (socket_select(connection->fd + 1, &read_fds, NULL, NULL, &tv) == 0)
{
/* This can typically be because a "monitor" command took too long
* before printing any progress messages