43898d79d2a13db64095fcb81bcaf66e7f8de624 |
|
25-Aug-2012 |
Filipe Cabecinhas <me@filcab.net> |
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. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162633 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/debugger/TestDebuggerAPI.py
|
a4b43ab3cb7580667f9d7b5534dbc0c426964000 |
|
23-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/10216227 LLDB (python bindings) Crashing in lldb::SBDebugger::DeleteTarget(lldb::SBTarget&) Need to check the validity of (SBTarget&)target passed to SBDebugger::DeleteTarget() before calling target->Destroy(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/debugger/TestDebuggerAPI.py
|
b6ca2e10eff8ea4eed52319b39440d79ff09d9fa |
|
19-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Work in progress for: rdar://problem/10577182 Audit lldb API impl for places where we need to perform a NULL check Add NULL checks for SBDebugger APIs. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146917 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/debugger/TestDebuggerAPI.py
|