llvm-project/lldb/source/Plugins/Process/gdb-remote
Pavel Labath bf3ac994c4 [lldb] Apply gdb-remote timeout to platform connections as well
We have a plugin.process.gdb-remote.packet-timeout setting, which can be
used to control how long the lldb client is willing to wait before
declaring the server side dead. Our test suite makes use of this
feature, and sets the setting value fairly high, as the low default
value can cause flaky tests, particularly on slower bots.

After fixing TestPlatformConnect (one of the few tests exercising the
remote platform capabilities of lldb) in 4b284b9ca, it immediately
started being flaky on the arm bots. It turns out this is because the
packet-timeout setting is not being applied to platform connections.

This patch makes the platform connections also respect the value of this
setting. It also adds a test which checks that the timeout value is
being honored.

Differential Revision: https://reviews.llvm.org/D97769
2021-03-04 14:46:02 +01:00
..
CMakeLists.txt [lldb] Allows customizing libxml2 for darwin 2020-05-20 12:27:08 -07:00
GDBRemoteClientBase.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
GDBRemoteClientBase.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
GDBRemoteCommunication.cpp [lldb/ipv6] Support running lldb tests in an ipv6-only environment. 2020-09-30 11:08:41 -07:00
GDBRemoteCommunication.h [lldb] NFC remove DISALLOW_COPY_AND_ASSIGN 2020-06-02 13:23:53 -04:00
GDBRemoteCommunicationClient.cpp [lldb][AArch64/Linux] Show memory tagged memory regions 2020-11-20 11:21:59 +00:00
GDBRemoteCommunicationClient.h [intel-pt][trace] Implement a "get supported trace type" packet 2020-11-11 10:35:58 -08:00
GDBRemoteCommunicationHistory.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
GDBRemoteCommunicationHistory.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
GDBRemoteCommunicationReplayServer.cpp [lldb/Reproducers] Move connection logic into replay server (NFC) 2020-05-19 10:55:35 -07:00
GDBRemoteCommunicationReplayServer.h [lldb] NFC remove DISALLOW_COPY_AND_ASSIGN 2020-06-02 13:23:53 -04:00
GDBRemoteCommunicationServer.cpp [lldb/Utility] Introduce UnimplementedError 2020-10-12 13:46:17 +02:00
GDBRemoteCommunicationServer.h [lldb] Error when there are no ports to launch a gdbserver on 2020-11-30 10:19:14 +00:00
GDBRemoteCommunicationServerCommon.cpp [lldb] Initial version of FreeBSD remote process plugin 2020-10-08 16:03:00 +02:00
GDBRemoteCommunicationServerCommon.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
GDBRemoteCommunicationServerLLGS.cpp Implement vAttachOrWait 2021-01-24 21:30:09 +01:00
GDBRemoteCommunicationServerLLGS.h Implement vAttachOrWait 2021-01-24 21:30:09 +01:00
GDBRemoteCommunicationServerPlatform.cpp [lldb] Fix TestPlatformProcessConnect.py 2021-01-14 09:49:19 +01:00
GDBRemoteCommunicationServerPlatform.h [lldb] Use llvm::Optional for port in LaunchGDBServer 2020-11-30 11:20:39 +00:00
GDBRemoteRegisterContext.cpp Support GDB remote g packet partial read 2021-03-02 17:21:48 +05:00
GDBRemoteRegisterContext.h Support GDB remote g packet partial read 2021-03-02 17:21:48 +05:00
ProcessGDBRemote.cpp [lldb] Apply gdb-remote timeout to platform connections as well 2021-03-04 14:46:02 +01:00
ProcessGDBRemote.h [lldb] Apply gdb-remote timeout to platform connections as well 2021-03-04 14:46:02 +01:00
ProcessGDBRemoteLog.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
ProcessGDBRemoteLog.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
ProcessGDBRemoteProperties.td [lldb/gdb-remote] Change default value of use-libraries-svr4 to true 2020-05-14 12:17:37 +02:00
ThreadGDBRemote.cpp [LLDB] Add per-thread register infos shared pointer in gdb-remote 2021-01-15 16:11:17 +05:00
ThreadGDBRemote.h [LLDB] Add per-thread register infos shared pointer in gdb-remote 2021-01-15 16:11:17 +05:00