summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBDebugger.i
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-02-21 02:23:08 +0000
committerJim Ingham <jingham@apple.com>2012-02-21 02:23:08 +0000
commit228063cd21c4e13aba0ef7a4522b1f32e3116c18 (patch)
tree73697c5ec27b8e8f282974db7db4f18de99b770b /lldb/scripts/Python/interface/SBDebugger.i
parent926410d2db727c5093bda792cb8b2025d7f02cc3 (diff)
downloadbcm5719-llvm-228063cd21c4e13aba0ef7a4522b1f32e3116c18.tar.gz
bcm5719-llvm-228063cd21c4e13aba0ef7a4522b1f32e3116c18.zip
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
Diffstat (limited to 'lldb/scripts/Python/interface/SBDebugger.i')
-rw-r--r--lldb/scripts/Python/interface/SBDebugger.i6
1 files changed, 6 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud