1 %extend lldb
::SBUnixSignals
{
5 '''Iterate over all signals in a lldb.SBUnixSignals object.'''
6 return lldb_iter
(self
, 'GetNumSignals'
, 'GetSignalAtIndex'
)
9 return self.GetNumSignals
()
11 def get_unix_signals_list
(self
):
13 for idx in range
(0, self.GetNumSignals
()):
14 signals.append
(self.GetSignalAtIndex
(sig
))
17 threads
= property
(get_unix_signals_list
, None
, doc
='''A read only property that returns a list
() of valid signal numbers for this platform.'''
)