xref: /freebsd/contrib/llvm-project/lldb/bindings/interface/SBBreakpointLocationExtensions.i (revision 700637cbb5e582861067a11aaca4d053546871d2)
1 STRING_EXTENSION_LEVEL_OUTSIDE(SBBreakpointLocation, lldb::eDescriptionLevelFull)
2 
3 %extend lldb::SBBreakpointLocation {
4 #ifdef SWIGPYTHON
5     %pythoncode%{
6     # operator== is a free function, which swig does not handle, so we inject
7     # our own equality operator here
8     def __eq__(self, other):
9       return not self.__ne__(other)
10 
11     addr = property(GetAddress, doc='A read only property that returns the address of this breakpoint location.')
12     auto_continue = property(GetAutoContinue, SetAutoContinue, doc='A read/write property that configures the auto-continue property of this breakpoint location.')
13     breakpoint = property(GetBreakpoint, doc='A read only property that returns the parent breakpoint of this breakpoint location.')
14     condition = property(GetCondition, SetCondition, doc='A read/write property that configures the condition of this breakpoint location.')
15     hit_count = property(GetHitCount, doc='A read only property that returns the hit count of this breakpoint location.')
16     id = property(GetID, doc='A read only property that returns the id of this breakpoint location.')
17     ignore_count = property(GetIgnoreCount, SetIgnoreCount, doc='A read/write property that configures the ignore count of this breakpoint location.')
18     load_addr = property(GetLoadAddress, doc='A read only property that returns the load address of this breakpoint location.')
19     queue_name = property(GetQueueName, SetQueueName, doc='A read/write property that configures the queue name criteria of this breakpoint location.')
20     thread_id = property(GetThreadID, SetThreadID, doc='A read/write property that configures the thread id criteria of this breakpoint location.')
21     thread_index = property(GetThreadIndex, SetThreadIndex, doc='A read/write property that configures the thread index criteria of this breakpoint location.')
22     thread_name = property(GetThreadName, SetThreadName, doc='A read/write property that configures the thread name criteria of this breakpoint location.')
23     %}
24 #endif
25 }
26