diff options
author | Jim Ingham <jingham@apple.com> | 2021-05-17 15:31:54 -0700 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2021-05-17 15:37:26 -0700 |
commit | 82a38837150099288a1262391ef43e1fd69ffde4 (patch) | |
tree | 82c341db9c5a4e84c194dc10430975a3b6b8231e /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | |
parent | a6d3987b8ef3b7616f0835b89515c4264f2a7a64 (diff) | |
download | llvm-82a38837150099288a1262391ef43e1fd69ffde4.zip llvm-82a38837150099288a1262391ef43e1fd69ffde4.tar.gz llvm-82a38837150099288a1262391ef43e1fd69ffde4.tar.bz2 |
Revert "Reset the wakeup timeout when we re-enter the continue wait."
This reverts commit bd5751f3d249ec0798060bd98c07272174c52af0.
This patch series is causing us to every so often miss switching
the state from eStateRunning to eStateStopped when we get the stop
packet from the debug server.
Reverting till I can figure out how that could be happening.
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
-rw-r--r-- | lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp b/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp index 803a9b9..4eeec62 100644 --- a/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp +++ b/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp @@ -385,9 +385,8 @@ TEST_F(GDBRemoteCommunicationClientTest, SendTraceSupportedPacket) { TraceSupportedResponse trace_type; std::string error_message; auto callback = [&] { - std::chrono::seconds timeout(10); if (llvm::Expected<TraceSupportedResponse> trace_type_or_err = - client.SendTraceSupported(timeout)) { + client.SendTraceSupported()) { trace_type = *trace_type_or_err; error_message = ""; return true; |