Author: mohit.bhakkad Date: Fri Oct 9 10:05:45 2015 New Revision: 249837 URL: http://llvm.org/viewvc/llvm-project?rev=249837&view=rev Log: [LLDB][MIPS] fix watchpoint searched on client side for same masked variables
Reviewers: clayborg, jingham. Subscribers: jaydeep, bhushan, sagar, nitesh.jain, brucem,lldb-commits. Differential Revision: http://reviews.llvm.org/D13548 Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=249837&r1=249836&r2=249837&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp (original) +++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Fri Oct 9 10:05:45 2015 @@ -2105,6 +2105,8 @@ ProcessGDBRemote::SetThreadStopInfo (lld watch_id_t watch_id = LLDB_INVALID_WATCH_ID; if (wp_addr != LLDB_INVALID_ADDRESS) { + if (wp_hit_addr != LLDB_INVALID_ADDRESS) + wp_addr = wp_hit_addr; WatchpointSP wp_sp = GetTarget().GetWatchpointList().FindByAddress(wp_addr); if (wp_sp) { _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits