aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/remote-utils.cc
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-06-12 16:06:41 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-06-12 16:06:41 -0400
commit613f149a90d6fc32a5a6ff47e0325f762cb07424 (patch)
treea3086accc640d461ab2c44828a473ca1729949bf /gdbserver/remote-utils.cc
parentfdb95bf546c7ea42fc61bed73bacd04ef237aa1a (diff)
downloadfsf-binutils-gdb-613f149a90d6fc32a5a6ff47e0325f762cb07424.zip
fsf-binutils-gdb-613f149a90d6fc32a5a6ff47e0325f762cb07424.tar.gz
fsf-binutils-gdb-613f149a90d6fc32a5a6ff47e0325f762cb07424.tar.bz2
gdbserver: remove support for Neutrino
This port has been unmaintained for years, remove it. gdbserver/ChangeLog: * configure: Re-generate. * configure.ac: Remove srv_qnx test. * configure.srv: Remove nto case. * nto-low.cc, nto-low.h, nto-x86-low.cc: Remove. * remote-utils.c: Remove __QNX__-guarded code. Change-Id: I8a1ad9c740a69352da1f6993778dbf951eebb22f
Diffstat (limited to 'gdbserver/remote-utils.cc')
-rw-r--r--gdbserver/remote-utils.cc33
1 files changed, 0 insertions, 33 deletions
diff --git a/gdbserver/remote-utils.cc b/gdbserver/remote-utils.cc
index 67c560d..c26668d 100644
--- a/gdbserver/remote-utils.cc
+++ b/gdbserver/remote-utils.cc
@@ -68,10 +68,6 @@
#include <ws2tcpip.h>
#endif
-#if __QNX__
-#include <sys/iomgr.h>
-#endif /* __QNX__ */
-
#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
@@ -804,28 +800,6 @@ block_unblock_async_io (int block)
#endif
}
-#ifdef __QNX__
-static void
-nto_comctrl (int enable)
-{
- struct sigevent event;
-
- if (enable)
- {
- event.sigev_notify = SIGEV_SIGNAL_THREAD;
- event.sigev_signo = SIGIO;
- event.sigev_code = 0;
- event.sigev_value.sival_ptr = NULL;
- event.sigev_priority = -1;
- ionotify (remote_desc, _NOTIFY_ACTION_POLLARM, _NOTIFY_COND_INPUT,
- &event);
- }
- else
- ionotify (remote_desc, _NOTIFY_ACTION_POLL, _NOTIFY_COND_INPUT, NULL);
-}
-#endif /* __QNX__ */
-
-
/* Current state of asynchronous I/O. */
static int async_io_enabled;
@@ -839,9 +813,6 @@ enable_async_io (void)
block_unblock_async_io (0);
async_io_enabled = 1;
-#ifdef __QNX__
- nto_comctrl (1);
-#endif /* __QNX__ */
}
/* Disable asynchronous I/O. */
@@ -854,10 +825,6 @@ disable_async_io (void)
block_unblock_async_io (1);
async_io_enabled = 0;
-#ifdef __QNX__
- nto_comctrl (0);
-#endif /* __QNX__ */
-
}
void