aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-01-09 22:58:18 +0000
committerGreg Clayton <gclayton@apple.com>2013-01-09 22:58:18 +0000
commite05b2efe274316c221a695bc430df43ca2087a8e (patch)
tree831da94e3bc741a4919d6a24eb70ed13275d07d7 /lldb/source/Commands/CommandObjectProcess.cpp
parent087f437b604d627939c9e2af6f0c310c715b9019 (diff)
downloadllvm-e05b2efe274316c221a695bc430df43ca2087a8e.zip
llvm-e05b2efe274316c221a695bc430df43ca2087a8e.tar.gz
llvm-e05b2efe274316c221a695bc430df43ca2087a8e.tar.bz2
Fixed an issue the "process plugin" proxy object was trying to use the m_exe_ctx when it wasn't ok to do so.
llvm-svn: 172014
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectProcess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp
index 64e0c73..b63089e 100644
--- a/lldb/source/Commands/CommandObjectProcess.cpp
+++ b/lldb/source/Commands/CommandObjectProcess.cpp
@@ -1094,7 +1094,7 @@ public:
virtual CommandObject *
GetProxyCommandObject()
{
- Process *process = m_exe_ctx.GetProcessPtr();
+ Process *process = m_interpreter.GetExecutionContext().GetProcessPtr();
if (process)
return process->GetPluginCommandObject();
return NULL;