[Lldb-commits] [lldb] r229503 - Fix small assignment mistake.

Chaoren Lin chaorenl at google.com
Tue Feb 17 07:41:23 PST 2015


Author: chaoren
Date: Tue Feb 17 09:41:23 2015
New Revision: 229503

URL: http://llvm.org/viewvc/llvm-project?rev=229503&view=rev
Log:
Fix small assignment mistake.

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

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp?rev=229503&r1=229502&r2=229503&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp Tue Feb 17 09:41:23 2015
@@ -2110,8 +2110,8 @@ GDBRemoteCommunicationServerLLGS::Handle
     {
         uint32_t watch_flags =
             stoppoint_type == eWatchpointWrite
-            ? watch_flags = 0x1  // Write
-            : watch_flags = 0x3; // ReadWrite
+            ? 0x1  // Write
+            : 0x3; // ReadWrite
 
         // Try to set the watchpoint.
         const Error error = m_debugged_process_sp->SetWatchpoint (





More information about the lldb-commits mailing list