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.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122984 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/Linux/LinuxThread.h b/source/Plugins/Process/Linux/LinuxThread.h
index a87e5ca..4dcdbb3 100644
--- a/source/Plugins/Process/Linux/LinuxThread.h
+++ b/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;