summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-11-13 19:18:16 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-11-13 19:18:16 +0000
commit9e046f02e34fbb93eea1bd8b4136da7fd8d06612 (patch)
treea5fcd26ec570e8a3262ab7ea7e312930e9014cdd /lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
parent3bea50aeb35704798aefa9acbb8973c7864f3732 (diff)
downloadbcm5719-llvm-9e046f02e34fbb93eea1bd8b4136da7fd8d06612.tar.gz
bcm5719-llvm-9e046f02e34fbb93eea1bd8b4136da7fd8d06612.zip
Add GDB remote packet reproducer.
llvm-svn: 346780
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp')
-rw-r--r--lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp b/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
index 8ab0afdb9be..187f1b2db9a 100644
--- a/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
+++ b/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
@@ -48,7 +48,8 @@ struct TestClient : public GDBRemoteClientBase {
class GDBRemoteClientBaseTest : public GDBRemoteTest {
public:
void SetUp() override {
- ASSERT_THAT_ERROR(Connect(client, server), llvm::Succeeded());
+ ASSERT_THAT_ERROR(GDBRemoteCommunication::ConnectLocally(client, server),
+ llvm::Succeeded());
ASSERT_EQ(TestClient::eBroadcastBitRunPacketSent,
listener_sp->StartListeningForEvents(
&client, TestClient::eBroadcastBitRunPacketSent));
OpenPOWER on IntegriCloud