1 //===-- SWIG Interface for SBUnixSignals ------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
13 "Allows you to manipulate LLDB's signal disposition"
20 SBUnixSignals (const lldb::SBUnixSignals &rhs);
31 GetSignalAsCString (int32_t signo) const;
34 GetSignalNumberFromName (const char *name) const;
37 GetShouldSuppress (int32_t signo) const;
40 SetShouldSuppress (int32_t signo,
44 GetShouldStop (int32_t signo) const;
47 SetShouldStop (int32_t signo,
51 GetShouldNotify (int32_t signo) const;
54 SetShouldNotify (int32_t signo, bool value);
57 GetNumSignals () const;
60 GetSignalAtIndex (int32_t index) const;
63 def get_unix_signals_list(self):
65 for idx in range(0, self.GetNumSignals()):
66 signals.append(self.GetSignalAtIndex(sig))
69 __swig_getmethods__["signals"] = get_unix_signals_list
70 if _newclass: threads = property(get_unix_signals_list, None, doc='''A read only property that returns a list() of valid signal numbers for this platform.''')