Fix watchpoint check to use watchpoint ranges
authorTed Woodward <ted.woodward@codeaurora.org>
Mon, 7 Dec 2015 19:38:58 +0000 (19:38 +0000)
committerTed Woodward <ted.woodward@codeaurora.org>
Mon, 7 Dec 2015 19:38:58 +0000 (19:38 +0000)
commit65a47b31b3958f6d4088049177d94f3e11308cd8
tree9c1866a91315f944ab35d84d0d5d122170e050ac
parenta6bdd70f4bf0893be2303c1a57ca1910a5c4262a
Fix watchpoint check to use watchpoint ranges

Summary: Watchpoints, unlike breakpoints, have an address range. This patch changes WatchpointList::FindByAddress() to match on any address in the watchpoint range, instead of only matching on the watchpoint's base address.

Reviewers: clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D14932

llvm-svn: 254931
lldb/source/Breakpoint/WatchpointList.cpp