Despite its comment, the function is only used in the Client class, and its presence was merely
complicating mock implementation in unit tests.
llvm-svn: 278785
}
//------------------------------------------------------------------
- // Client and server must implement these pure virtual functions
- //------------------------------------------------------------------
- virtual bool
- GetThreadSuffixSupported () = 0;
-
- //------------------------------------------------------------------
// Set the global packet timeout.
//
// For clients, this is the timeout that gets used when sending
std::string &response_string);
bool
- GetThreadSuffixSupported () override;
+ GetThreadSuffixSupported();
// This packet is usually sent first and the boolean return value
// indicates if the packet was send and any response was received
});
}
- bool
- GetThreadSuffixSupported () override
- {
- return true;
- }
-
//------------------------------------------------------------------
/// Launch a process with the current launch settings.
///
{
MockServer() : GDBRemoteCommunicationServer("mock-server", "mock-server.listener") { m_send_acks = false; }
- bool
- GetThreadSuffixSupported() override
- {
- return false;
- }
-
PacketResult
SendPacket(llvm::StringRef payload)
{
struct TestClient : public GDBRemoteClientBase
{
TestClient() : GDBRemoteClientBase("test.client", "test.client.listener") { m_send_acks = false; }
-
- bool
- GetThreadSuffixSupported() override
- {
- return false;
- }
};
struct ContinueFixture