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
This commit is contained in:
Greg Clayton 2013-01-09 22:58:18 +00:00
parent 087f437b60
commit e05b2efe27
1 changed files with 1 additions and 1 deletions

View File

@ -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;