diff options
author | Jim Ingham <jingham@apple.com> | 2012-02-08 05:23:15 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-02-08 05:23:15 +0000 |
commit | e6bc6cb96fbcbd77a80c8cb831a2bba2b4073cac (patch) | |
tree | 486e94a3918ba4ec21b6205d6dc1f7ae3d01cf81 /lldb/scripts/Python | |
parent | fec9f8edb788aaca0d7b86f5b6d4163e5a6faa41 (diff) | |
download | bcm5719-llvm-e6bc6cb96fbcbd77a80c8cb831a2bba2b4073cac.tar.gz bcm5719-llvm-e6bc6cb96fbcbd77a80c8cb831a2bba2b4073cac.zip |
Send Breakpoint Changed events for all the relevant changes to breakpoints.
Also, provide and use accessors for the thread options on breakpoints so we
can control sending the appropriate events.
llvm-svn: 150057
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r-- | lldb/scripts/Python/interface/SBBreakpoint.i | 6 | ||||
-rw-r--r-- | lldb/scripts/Python/interface/SBProcess.i | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBBreakpoint.i b/lldb/scripts/Python/interface/SBBreakpoint.i index 9e333c37287..0e9a80c2e9b 100644 --- a/lldb/scripts/Python/interface/SBBreakpoint.i +++ b/lldb/scripts/Python/interface/SBBreakpoint.i @@ -180,6 +180,9 @@ public: bool GetDescription (lldb::SBStream &description); + static bool + EventIsBreakpointEvent (const lldb::SBEvent &event); + static lldb::BreakpointEventType GetBreakpointEventTypeFromEvent (const lldb::SBEvent& event); @@ -188,6 +191,9 @@ public: static lldb::SBBreakpointLocation GetBreakpointLocationAtIndexFromEvent (const lldb::SBEvent& event, uint32_t loc_idx); + + static uint32_t + GetNumBreakpointLocationsFromEvent (const lldb::SBEvent &event_sp); }; } // namespace lldb diff --git a/lldb/scripts/Python/interface/SBProcess.i b/lldb/scripts/Python/interface/SBProcess.i index df58f169aa9..20d782ad5c4 100644 --- a/lldb/scripts/Python/interface/SBProcess.i +++ b/lldb/scripts/Python/interface/SBProcess.i @@ -269,6 +269,9 @@ public: static lldb::SBProcess GetProcessFromEvent (const lldb::SBEvent &event); + static bool + EventIsProcessEvent (const lldb::SBEvent &event); + lldb::SBBroadcaster GetBroadcaster () const; |