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/Target/StopInfo.cpp b/source/Target/StopInfo.cpp
index 689b3e3..05d7f3b 100644
--- a/source/Target/StopInfo.cpp
+++ b/source/Target/StopInfo.cpp
@@ -41,6 +41,12 @@
return m_thread.GetProcess().GetStopID() == m_stop_id;
}
+void
+StopInfo::MakeStopInfoValid ()
+{
+ m_stop_id = m_thread.GetProcess().GetStopID();
+}
+
//----------------------------------------------------------------------
// StopInfoBreakpoint
//----------------------------------------------------------------------