Back up both the register AND the stop state when calling functions.
Set the thread state to "bland" before calling functions so they don't 
  inherit the pending signals and die.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123869 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/Linux/LinuxThread.h b/source/Plugins/Process/Linux/LinuxThread.h
index c7f29ca..88973fc 100644
--- a/source/Plugins/Process/Linux/LinuxThread.h
+++ b/source/Plugins/Process/Linux/LinuxThread.h
@@ -43,12 +43,6 @@
     virtual lldb::RegisterContextSP
     GetRegisterContext();
 
-    virtual bool
-    SaveFrameZeroState(RegisterCheckpoint &checkpoint);
-
-    virtual bool
-    RestoreSaveFrameZero(const RegisterCheckpoint &checkpoint);
-
     virtual lldb::RegisterContextSP
     CreateRegisterContextForFrame (lldb_private::StackFrame *frame);
 
@@ -61,6 +55,13 @@
     void TraceNotify();
     void ExitNotify();
 
+protected:
+    virtual bool
+    SaveFrameZeroState(RegisterCheckpoint &checkpoint);
+
+    virtual bool
+    RestoreSaveFrameZero(const RegisterCheckpoint &checkpoint);
+
 private:
     
     RegisterContextLinux *