From e0c6ab5947f970f463655de6594320d37c688d6f Mon Sep 17 00:00:00 2001 From: Chaoren Lin Date: Tue, 17 Feb 2015 15:41:23 +0000 Subject: Fix small assignment mistake. llvm-svn: 229503 --- .../Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp index feac9b8..991eef2 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp @@ -2110,8 +2110,8 @@ GDBRemoteCommunicationServerLLGS::Handle_Z (StringExtractorGDBRemote &packet) { 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 ( -- cgit v1.1