[Lldb-commits] [PATCH] Increase default packet timeout for android to 20s

Oleksiy Vyalov ovyalov at google.com
Tue Feb 24 10:33:15 PST 2015


Please see my comments.


================
Comment at: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp:44
@@ +43,3 @@
+#ifdef __ANDROID__
+    static uint32_t g_default_packet_timeout = 20; // seconds
+#else
----------------
Could you add secs suffix to this variable?

================
Comment at: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp:44
@@ +43,3 @@
+#ifdef __ANDROID__
+    static uint32_t g_default_packet_timeout = 20; // seconds
+#else
----------------
ovyalov wrote:
> Could you add secs suffix to this variable?
If there is no existing use cases to modify this variable I'd rather declare it as constexpr within anonymous namespace.

http://reviews.llvm.org/D7853

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list