[Lldb-commits] [lldb] r357954 - Experiment with a larger packet timeout.

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 8 16:02:11 PDT 2019


Author: adrian
Date: Mon Apr  8 16:02:11 2019
New Revision: 357954

URL: http://llvm.org/viewvc/llvm-project?rev=357954&view=rev
Log:
Experiment with a larger packet timeout.

This is a follow-up to r357829 (https://reviews.llvm.org/D60340) to
see whether increasing the packet timeout for non-asan builds could
also positively affect the stability of non-asan bots.

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=357954&r1=357953&r2=357954&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Mon Apr  8 16:02:11 2019
@@ -111,10 +111,10 @@ void DumpProcessGDBRemotePacketHistory(v
 namespace {
 
 static constexpr PropertyDefinition g_properties[] = {
-    {"packet-timeout", OptionValue::eTypeUInt64, true, 1
+    {"packet-timeout", OptionValue::eTypeUInt64, true, 5
 #if defined(__has_feature)
 #if __has_feature(address_sanitizer)
-      + 4
+      * 2
 #endif
 #endif
       , NULL, {},




More information about the lldb-commits mailing list