[Lldb-commits] [lldb] r249837 - [LLDB][MIPS] fix watchpoint searched on client side for same masked variables
Mohit K. Bhakkad via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 9 08:05:47 PDT 2015
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)
{
More information about the lldb-commits
mailing list