mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 23:49:22 +08:00
[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 llvm-svn: 249837
This commit is contained in:
@@ -2105,6 +2105,8 @@ ProcessGDBRemote::SetThreadStopInfo (lldb::tid_t tid,
|
||||
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user