Convert ValueObject to explicitly maintain the Execution Context in which they were created, and then use that when they update themselves.  That means all the ValueObject evaluate me type functions that used to require a Frame object now do not.  I didn't remove the SBValue API's that take this now useless frame, but I added ones that don't require the frame, and marked the SBFrame taking ones as deprecated.

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128593 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Process.cpp b/source/Target/Process.cpp
index 74f5fc3..1b0a864 100644
--- a/source/Target/Process.cpp
+++ b/source/Target/Process.cpp
@@ -923,7 +923,7 @@
                 if (result_valobj_sp->GetError().Success())
                 {
                     Scalar scalar;
-                    if (result_valobj_sp->ResolveValue (frame_sp.get(), scalar))
+                    if (result_valobj_sp->ResolveValue (scalar))
                     {
                         addr_t image_ptr = scalar.ULongLong(LLDB_INVALID_ADDRESS);
                         if (image_ptr != 0 && image_ptr != LLDB_INVALID_ADDRESS)
@@ -989,7 +989,7 @@
                         if (result_valobj_sp->GetError().Success())
                         {
                             Scalar scalar;
-                            if (result_valobj_sp->ResolveValue (frame_sp.get(), scalar))
+                            if (result_valobj_sp->ResolveValue (scalar))
                             {
                                 if (scalar.UInt(1))
                                 {
diff --git a/source/Target/StackFrame.cpp b/source/Target/StackFrame.cpp
index 603e9e6..0d0c0e8 100644
--- a/source/Target/StackFrame.cpp
+++ b/source/Target/StackFrame.cpp
@@ -810,7 +810,7 @@
             {
                 if (m_variable_list_value_objects.GetSize() < num_variables)
                     m_variable_list_value_objects.Resize(num_variables);
-                valobj_sp.reset (new ValueObjectVariable (variable_sp));
+                valobj_sp.reset (new ValueObjectVariable (this, variable_sp));
                 m_variable_list_value_objects.SetValueObjectAtIndex (var_idx, valobj_sp);
             }
         }
diff --git a/source/Target/Target.cpp b/source/Target/Target.cpp
index 5663961..882ff6a 100644
--- a/source/Target/Target.cpp
+++ b/source/Target/Target.cpp
@@ -926,8 +926,7 @@
             const_valobj_sp->SetName (persistent_variable_name);
         }
         else
-            const_valobj_sp = result_valobj_sp->CreateConstantValue (exe_ctx.GetBestExecutionContextScope(), 
-                                                                     persistent_variable_name);
+            const_valobj_sp = result_valobj_sp->CreateConstantValue (persistent_variable_name);
 
         lldb::ValueObjectSP live_valobj_sp = result_valobj_sp;