Fix a few small issues in r122981 to ensure compilation on Linux.
Also, call GetProcess instead of CalculateProcess as the latter is morally part
of the ExecutionContextScope API.
llvm-svn: 122984
diff --git a/lldb/source/Plugins/Process/Linux/LinuxThread.h b/lldb/source/Plugins/Process/Linux/LinuxThread.h
index a87e5ca..4dcdbb3 100644
--- a/lldb/source/Plugins/Process/Linux/LinuxThread.h
+++ b/lldb/source/Plugins/Process/Linux/LinuxThread.h
@@ -48,7 +48,7 @@
RestoreSaveFrameZero(const RegisterCheckpoint &checkpoint);
virtual lldb::RegisterContextSP
- CreateRegisterContextForFrame (StackFrame *frame);
+ CreateRegisterContextForFrame (lldb_private::StackFrame *frame);
//--------------------------------------------------------------------------
// These methods form a specialized interface to linux threads.
@@ -66,7 +66,7 @@
{
if (!m_reg_context_sp)
GetRegisterContext();
- return (RegisterContextLinux *)m_reg_context_sp.get()
+ return (RegisterContextLinux *)m_reg_context_sp.get();
}
std::auto_ptr<lldb_private::StackFrame> m_frame_ap;