summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
diff options
context:
space:
mode:
authorChaoren Lin <chaorenl@google.com>2015-02-17 15:41:23 +0000
committerChaoren Lin <chaorenl@google.com>2015-02-17 15:41:23 +0000
commite0c6ab5947f970f463655de6594320d37c688d6f (patch)
tree34140f22404956dbd0af042a1890b3a8fd8b7451 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
parentf4984a961feaa18c8c184c924aca5865be6c0839 (diff)
downloadbcm5719-llvm-e0c6ab5947f970f463655de6594320d37c688d6f.tar.gz
bcm5719-llvm-e0c6ab5947f970f463655de6594320d37c688d6f.zip
Fix small assignment mistake.
llvm-svn: 229503
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
index feac9b87117..991eef2e979 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 (
OpenPOWER on IntegriCloud