Hi all, 

Attached are the updated patches for the lldb python bindings (and a fix for 
some debug statements). I sent them a week ago but got no answer.

lldb-disable-python-interpreter.patch:

Changes the symbol LLDB_DISABLE_PYTHON to only disable the embedded python 
interpreter, building the bindings anyway;
If both the symbol LLDB_DISABLE_PYTHON and LLDB_DISABLE_PYTHON_BINDINGS are 
defined, it also disables the Python bindings and any swig-related code, as 
happened before;
Defines LLDB_DISABLE_PYTHON_BINDINGS in iOS builds.


lldb-enable-log-callback.patch:

Enables SBDebugger::Create(bool, lldb::LogOutputCallback, void *baton) in the 
python bindings. Transforming it into SBDebugger.Create(bool, 
Python_callable_object);
The caller object is responsible for ensuring the passed object is valid until 
it is not needed.


lldb-debug-pthread-fix.patch:

This patch fixes a compile error in Predicate.h when DB_PTHREAD_LOG_EVENTS is 
defined;
It also adds newlines to the end of each printf() log statement that are active 
with that constant.


If you want me to change anything in the patches, just let me know.

Regards, 

  Filipe

Attachment: lldb-debug-pthread-fix.patch
Description: Binary data

Attachment: lldb-disable-python-interpreter.patch
Description: Binary data

Attachment: lldb-enable-log-callback.patch
Description: Binary data

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to