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
return m_send_acks;
}
- //------------------------------------------------------------------
- // Client and server must implement these pure virtual functions
- //------------------------------------------------------------------
- virtual bool
- GetThreadSuffixSupported () = 0;
-
//------------------------------------------------------------------
// Set the global packet timeout.
//
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