summaryrefslogtreecommitdiff
path: root/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-06-26 20:33:56 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-06-26 20:33:56 +0000
commitfdea456ad833fbab0d3a296a58250950f11a498c (patch)
tree3db481072633e348326ee97c01d69518ed66b145 /unittests/Process/gdb-remote/GDBRemoteTestUtils.h
parent4befb1f96d641a958548654b2c3b674f0ce8404c (diff)
Notes
Diffstat (limited to 'unittests/Process/gdb-remote/GDBRemoteTestUtils.h')
-rw-r--r--unittests/Process/gdb-remote/GDBRemoteTestUtils.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/unittests/Process/gdb-remote/GDBRemoteTestUtils.h b/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
index d7700f23e5ab..cc17422049bc 100644
--- a/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
+++ b/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
@@ -19,11 +19,12 @@ namespace process_gdb_remote {
class GDBRemoteTest : public testing::Test {
public:
static void SetUpTestCase();
-
static void TearDownTestCase();
-};
-void Connect(GDBRemoteCommunication &client, GDBRemoteCommunication &server);
+protected:
+ llvm::Error Connect(GDBRemoteCommunication &client,
+ GDBRemoteCommunication &server);
+};
struct MockServer : public GDBRemoteCommunicationServer {
MockServer()