Make ValueObject::SetValueFromCString work correctly.
Also change the SourceInitFile to look for .lldb-<APPNAME> and source that
preferentially if it exists.
Also made the breakpoint site report its address as well as its breakpoint number
when it gets hit and can't find any the associated locations (usually because the
breakpoint got disabled or deleted programmatically between the time it was hit
and reported.)
Changed ThreadPlanCallFunction to initialize the ivar m_func in the initializers of the
constructor, rather than waiting to initialize till later on in the function.
Fixed a bug where if you make an SBError and the ask it Success, it returns false.
Fixed ValueObject::ResolveValue so that it resolves a temporary value, rather than
overwriting the one in the value object.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137536 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBValue.cpp b/source/API/SBValue.cpp
index 58eb979..a7bc91d 100644
--- a/source/API/SBValue.cpp
+++ b/source/API/SBValue.cpp
@@ -629,6 +629,7 @@
 int64_t
 SBValue::GetValueAsSigned(SBError& error, int64_t fail_value)
 {
+    error.Clear();
     if (m_opaque_sp)
     {
         if (m_opaque_sp->GetUpdatePoint().GetTargetSP())
@@ -650,6 +651,7 @@
 uint64_t
 SBValue::GetValueAsUnsigned(SBError& error, uint64_t fail_value)
 {
+    error.Clear();
     if (m_opaque_sp)
     {
         if (m_opaque_sp->GetUpdatePoint().GetTargetSP())