teak-llvm/lldb/scripts/Python
Filipe Cabecinhas c5041918dd Added SBDebugger's log callbacks to Python-land
- Tweaked a parameter name in SBDebugger.h so my typemap will catch it;
- Added a SBDebugger.Create(bool, callback, baton) to the swig interface;
- Added SBDebugger.SetLoggingCallback to the swig interface;
- Added a callback utility function for log callbacks;
- Guard against Py_None on both callback utility functions;

- Added a FIXME to the SBDebugger API test;
- Added a __del__() stub for SBDebugger.

We need to be able to get both the log callback and baton from an
SBDebugger if we want to protect against memory leaks (or make the user
responsible for holding another reference to the callback).
Additionally, it's impossible to revert from a callback-backed log
mechanism to a file-backed log mechanism.

llvm-svn: 162633
2012-08-25 00:29:07 +00:00
..
interface Added SBDebugger's log callbacks to Python-land 2012-08-25 00:29:07 +00:00
build-swig-Python.sh Merge python-GIL bracnh (by filcab) back into trunk! 2012-08-18 04:14:54 +00:00
edit-swig-python-wrapper-file.py Fix remaining Python issues leftover from my previous patch. 2011-06-01 02:33:12 +00:00
finish-swig-Python-LLDB.sh Fix the comments about LLDB_DISABLE_PYTHON in the python swig shell scripts to be more clear. 2012-05-26 00:23:52 +00:00
modify-python-lldb.py Export the APIs submitted by Dawn to the Python bindings. Add a simple test case for the SBModule.compile_unit_iter() API. 2012-03-16 21:55:42 +00:00
python-extensions.swig Added SBDebugger's log callbacks to Python-land 2012-08-25 00:29:07 +00:00
python-typemaps.swig Added SBDebugger's log callbacks to Python-land 2012-08-25 00:29:07 +00:00
python-wrapper.swig Added SBDebugger's log callbacks to Python-land 2012-08-25 00:29:07 +00:00