diff options
author | Greg Clayton <gclayton@apple.com> | 2011-10-13 18:08:26 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-10-13 18:08:26 +0000 |
commit | 1b282f9619f68a60d4b8f4dd0c68b0a07e1a1293 (patch) | |
tree | 272a2761ade581bba6c9641267cd4bd6902b85c7 /lldb/scripts/Python/interface/SBTarget.i | |
parent | d5a9a3afafce0b1f2519250bd47701eab68edc46 (diff) | |
download | llvm-1b282f9619f68a60d4b8f4dd0c68b0a07e1a1293.zip llvm-1b282f9619f68a60d4b8f4dd0c68b0a07e1a1293.tar.gz llvm-1b282f9619f68a60d4b8f4dd0c68b0a07e1a1293.tar.bz2 |
Cleaned up the SBWatchpoint public API.
llvm-svn: 141876
Diffstat (limited to 'lldb/scripts/Python/interface/SBTarget.i')
-rw-r--r-- | lldb/scripts/Python/interface/SBTarget.i | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i index f93128d..9c628a6 100644 --- a/lldb/scripts/Python/interface/SBTarget.i +++ b/lldb/scripts/Python/interface/SBTarget.i @@ -442,28 +442,32 @@ public: DeleteAllBreakpoints (); uint32_t - GetNumWatchpointLocations () const; - - lldb::SBWatchpointLocation - GetLastCreatedWatchpointLocation (); - - lldb::SBWatchpointLocation - GetWatchpointLocationAtIndex (uint32_t idx) const; - + GetNumWatchpoints () const; + + lldb::SBWatchpoint + GetWatchpointAtIndex (uint32_t idx) const; + bool - WatchpointLocationDelete (watch_id_t watch_id); - - lldb::SBWatchpointLocation - FindWatchpointLocationByID (watch_id_t watch_id); - + DeleteWatchpoint (lldb::watch_id_t watch_id); + + lldb::SBWatchpoint + FindWatchpointByID (lldb::watch_id_t watch_id); + bool - EnableAllWatchpointLocations (); - + EnableAllWatchpoints (); + bool - DisableAllWatchpointLocations (); - + DisableAllWatchpoints (); + bool - DeleteAllWatchpointLocations (); + DeleteAllWatchpoints (); + + lldb::SBWatchpoint + WatchAddress (lldb::addr_t addr, + size_t size, + bool read, + bool write); + lldb::SBBroadcaster GetBroadcaster () const; |