Find breakpoint by PC rather than source position when clearing breakpoint
authorpeter.rybin@gmail.com <peter.rybin@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Sun, 9 Jun 2013 20:10:29 +0000 (20:10 +0000)
committerpeter.rybin@gmail.com <peter.rybin@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Sun, 9 Jun 2013 20:10:29 +0000 (20:10 +0000)
commite79ba28aa8791300177a982279282725c7639fcb
tree698b5083fb865241580bec2ffcea1438116fae53
parent1bf85abffc29a889ddb1f294e6e34a1740c6ddbc
Find breakpoint by PC rather than source position when clearing breakpoint

Current approach is to find breakpoint by the statement position that was used when setting breakpoint. This doesn't work when setting breakpoint by anything else but statement position.

(Question: could PC of existing breakpoint change, for example because of recompilation, or this approach is safe)

R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/15685010

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15021 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/debug.cc