aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-10-18 22:40:37 +0000
committerGreg Clayton <gclayton@apple.com>2012-10-18 22:40:37 +0000
commitc9d645d30619ffad3e256928cb3d8cdc4c541998 (patch)
treedcdb3b2a37b27ad64e155f211f9c93b1e5f04d0c /lldb/source/Commands/CommandObjectCommands.cpp
parented8560b09c3fa6f83350aa065b74e31a9d77e469 (diff)
downloadllvm-c9d645d30619ffad3e256928cb3d8cdc4c541998.zip
llvm-c9d645d30619ffad3e256928cb3d8cdc4c541998.tar.gz
llvm-c9d645d30619ffad3e256928cb3d8cdc4c541998.tar.bz2
<rdar://problem/12491420>
Added a new setting that allows a python OS plug-in to detect threads and provide registers for memory threads. To enable this you set the setting: settings set target.process.python-os-plugin-path lldb/examples/python/operating_system.py Then run your program and see the extra threads. llvm-svn: 166244
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectCommands.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp
index 4c41d31..5999f7c 100644
--- a/lldb/source/Commands/CommandObjectCommands.cpp
+++ b/lldb/source/Commands/CommandObjectCommands.cpp
@@ -1394,8 +1394,10 @@ protected:
std::string path = command.GetArgumentAtIndex(0);
Error error;
+ const bool init_session = true;
if (m_interpreter.GetScriptInterpreter()->LoadScriptingModule(path.c_str(),
m_options.m_allow_reload,
+ init_session,
error))
{
result.SetStatus (eReturnStatusSuccessFinishNoResult);