[Lldb-commits] [PATCH] Create ScopedTimeout class for GDBRemoteCommunication

Oleksiy Vyalov ovyalov at google.com
Mon Feb 23 09:52:11 PST 2015


================
Comment at: source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp:934
@@ +933,3 @@
+{
+    m_saved_timeout = m_gdb_comm.SetPacketTimeout (timeout);
+}
----------------
You may put this statement in initializer list and make m_saved_timeout const;

http://reviews.llvm.org/D7826

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






More information about the lldb-commits mailing list