llvm-project/lldb/source/Plugins/Process/gdb-remote
Pavel Labath d35031e1e5 Use Timeout<> in the Listener class
Summary:
Communication classes use the Timeout<> class to specify the timeout. Listener
class was converted to chrono some time ago, but it used a different meaning for
a timeout of zero (Listener: infinite wait, Communication: no wait). Instead,
Listener provided separate functions which performed a non-blocking event read.

This converts the Listener class to the new Timeout class, to improve
consistency. It also allows us to get merge the different GetNextEvent*** and
WaitForEvent*** functions into one. No functional change intended.

Reviewers: jingham, clayborg, zturner

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D27136

llvm-svn: 288238
2016-11-30 10:41:42 +00:00
..
CMakeLists.txt Reapply "Rewrite gdb-remote's SendContinuePacketAndWaitForResponse" 2016-08-09 12:04:46 +00:00
GDBRemoteClientBase.cpp Introduce chrono to more gdb-remote functions 2016-11-24 10:54:49 +00:00
GDBRemoteClientBase.h [gdb-remote] Remove the const char * version of SendPacketAndWaitForResponse 2016-09-23 09:11:49 +00:00
GDBRemoteCommunication.cpp Introduce chrono to the Communication class 2016-11-25 11:58:44 +00:00
GDBRemoteCommunication.h Introduce chrono to the Communication class 2016-11-25 11:58:44 +00:00
GDBRemoteCommunicationClient.cpp Introduce chrono to more gdb-remote functions 2016-11-24 10:54:49 +00:00
GDBRemoteCommunicationClient.h Fix GDBRemoteCommunicationClientTest.TestPacketSpeedJSON 2016-11-04 11:49:06 +00:00
GDBRemoteCommunicationServer.cpp Introduce chrono to more gdb-remote functions 2016-11-24 10:54:49 +00:00
GDBRemoteCommunicationServer.h Introduce chrono to more gdb-remote functions 2016-11-24 10:54:49 +00:00
GDBRemoteCommunicationServerCommon.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
GDBRemoteCommunicationServerCommon.h gdb-remote: Add jModulesInfo packet 2016-09-08 10:07:04 +00:00
GDBRemoteCommunicationServerLLGS.cpp Introduce chrono to the Communication class 2016-11-25 11:58:44 +00:00
GDBRemoteCommunicationServerLLGS.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
GDBRemoteCommunicationServerPlatform.cpp Convert UriParser to use StringRef. 2016-11-17 01:38:02 +00:00
GDBRemoteCommunicationServerPlatform.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
GDBRemoteRegisterContext.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
GDBRemoteRegisterContext.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ProcessGDBRemote.cpp Use Timeout<> in the Listener class 2016-11-30 10:41:42 +00:00
ProcessGDBRemote.h Convert Platform, Process, and Connection functions to StringRef. 2016-11-17 21:15:14 +00:00
ProcessGDBRemoteLog.cpp Try to fix failing tests when running remote test suite. 2016-10-04 00:09:44 +00:00
ProcessGDBRemoteLog.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadGDBRemote.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadGDBRemote.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00