From 228063cd21c4e13aba0ef7a4522b1f32e3116c18 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Tue, 21 Feb 2012 02:23:08 +0000 Subject: Add a logging mode that takes a callback and flush'es to that callback. Also add SB API's to set this callback, and to enable the log channels. llvm-svn: 151018 --- lldb/scripts/Python/interface/SBDebugger.i | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lldb/scripts/Python/interface/SBDebugger.i') diff --git a/lldb/scripts/Python/interface/SBDebugger.i b/lldb/scripts/Python/interface/SBDebugger.i index 5048a83d0ec..465c856f393 100644 --- a/lldb/scripts/Python/interface/SBDebugger.i +++ b/lldb/scripts/Python/interface/SBDebugger.i @@ -119,6 +119,9 @@ public: static lldb::SBDebugger Create(); + static lldb::SBDebugger + Create(bool source_init_files); + static void Destroy (lldb::SBDebugger &debugger); @@ -262,6 +265,9 @@ public: static bool StateIsStoppedState (lldb::StateType state); + bool + EnableLog (const char *channel, const char ** types); + void DispatchInput (void *baton, const void *data, size_t data_len); -- cgit v1.2.3