diff options
Diffstat (limited to 'lldb/scripts/Python/interface/SBBreakpoint.i')
-rw-r--r-- | lldb/scripts/Python/interface/SBBreakpoint.i | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lldb/scripts/Python/interface/SBBreakpoint.i b/lldb/scripts/Python/interface/SBBreakpoint.i index 3c2920a5f41..0ca83bf33cd 100644 --- a/lldb/scripts/Python/interface/SBBreakpoint.i +++ b/lldb/scripts/Python/interface/SBBreakpoint.i @@ -64,12 +64,19 @@ TestBreakpointIgnoreCount.py), process.Continue() -SBBreakpoint supports breakpoint location iteration. For example, +SBBreakpoint supports breakpoint location iteration, for example, for bl in breakpoint: print 'breakpoint location load addr: %s' % hex(bl.GetLoadAddress()) print 'breakpoint location condition: %s' % hex(bl.GetCondition()) -") SBBreakpoint; + +and rich comparion methods which allow the API program to use, + + if aBreakpoint == bBreakpoint: + ... + +to compare two breakpoints for equality." +) SBBreakpoint; class SBBreakpoint { public: |