From e6bc6cb96fbcbd77a80c8cb831a2bba2b4073cac Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Wed, 8 Feb 2012 05:23:15 +0000 Subject: 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 --- lldb/scripts/Python/interface/SBBreakpoint.i | 6 ++++++ lldb/scripts/Python/interface/SBProcess.i | 3 +++ 2 files changed, 9 insertions(+) (limited to 'lldb/scripts/Python/interface') 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; -- cgit v1.2.3