This revision was automatically updated to reflect the committed changes. Closed by commit rL249837: [LLDB][MIPS] fix watchpoint searched on client side for same masked variables (authored by mohit.bhakkad).
Changed prior to commit: http://reviews.llvm.org/D13548?vs=36838&id=36951#toc Repository: rL LLVM http://reviews.llvm.org/D13548 Files: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Index: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp =================================================================== --- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -2105,6 +2105,8 @@ 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) {
Index: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp =================================================================== --- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -2105,6 +2105,8 @@ 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