[Lldb-commits] [lldb] r172014 - /lldb/trunk/source/Commands/CommandObjectProcess.cpp

Greg Clayton gclayton at apple.com
Wed Jan 9 14:58:18 PST 2013


Author: gclayton
Date: Wed Jan  9 16:58:18 2013
New Revision: 172014

URL: http://llvm.org/viewvc/llvm-project?rev=172014&view=rev
Log:
Fixed an issue the "process plugin" proxy object was trying to use the m_exe_ctx when it wasn't ok to do so.


Modified:
    lldb/trunk/source/Commands/CommandObjectProcess.cpp

Modified: lldb/trunk/source/Commands/CommandObjectProcess.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectProcess.cpp?rev=172014&r1=172013&r2=172014&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectProcess.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectProcess.cpp Wed Jan  9 16:58:18 2013
@@ -1094,7 +1094,7 @@
     virtual CommandObject *
     GetProxyCommandObject()
     {
-        Process *process = m_exe_ctx.GetProcessPtr();
+        Process *process = m_interpreter.GetExecutionContext().GetProcessPtr();
         if (process)
             return process->GetPluginCommandObject();
         return NULL;





More information about the lldb-commits mailing list