gdbsupport: Add an event-pipe class.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Feb 2022 19:22:14 +0000 (11:22 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Feb 2022 19:22:14 +0000 (11:22 -0800)
commitea3e7446dcac18abb68772ce4e04b72815f49745
treea06b1acf42f288af38f4b98d24542e415183c5c0
parent6a8fe63330c922255a4ced4b6491d35f6c384bba
gdbsupport: Add an event-pipe class.

This pulls out the implementation of an event pipe used to implement
target async support in both linux-low.cc (gdbserver) and linux-nat.c
(gdb).

This will be used to replace the existing event pipe in linux-low.cc
and linux-nat.c in future commits.

Co-Authored-By: Lancelot SIX <lsix@lancelotsix.com>
gdbsupport/Makefile.am
gdbsupport/Makefile.in
gdbsupport/configure
gdbsupport/configure.ac
gdbsupport/event-pipe.cc [new file with mode: 0644]
gdbsupport/event-pipe.h [new file with mode: 0644]