diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-09-27 20:29:45 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-09-27 20:29:45 +0000 |
commit | 9d954d86654d9627ef7813bce416b175e1467252 (patch) | |
tree | 2d928a9bc681290cbff6a9a3209c9f8e6f30cf21 /lldb/scripts/Python/interface | |
parent | 4e6a4fa899a35ee0c86fa788f6a8b054e3cfae2b (diff) | |
download | bcm5719-llvm-9d954d86654d9627ef7813bce416b175e1467252.tar.gz bcm5719-llvm-9d954d86654d9627ef7813bce416b175e1467252.zip |
Add SBTarget::GetLastCreatedWatchpointLocation() API and export to the Python interface.
Also add rich comparison methods (__eq__ and __ne__) for SBWatchpointLocation.
Modify TestWatchpointLocationIter.py to exercise the new APIs.
Add fuzz testings for the recently added SBTarget APIs related to watchpoint manipulations.
llvm-svn: 140633
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBTarget.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i index 3bf14b1010a..6feb2167b16 100644 --- a/lldb/scripts/Python/interface/SBTarget.i +++ b/lldb/scripts/Python/interface/SBTarget.i @@ -439,6 +439,9 @@ public: GetNumWatchpointLocations () const; lldb::SBWatchpointLocation + GetLastCreatedWatchpointLocation (); + + lldb::SBWatchpointLocation GetWatchpointLocationAtIndex (uint32_t idx) const; bool |