From 16e0c68627e11db66466e10c55d506038af23b47 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 12 Aug 2011 23:34:31 +0000 Subject: Make ValueObject::SetValueFromCString work correctly. Also change the SourceInitFile to look for .lldb- 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. llvm-svn: 137536 --- lldb/source/Core/ValueObjectChild.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Core/ValueObjectChild.cpp') diff --git a/lldb/source/Core/ValueObjectChild.cpp b/lldb/source/Core/ValueObjectChild.cpp index 2ded7b50e82..989386eea68 100644 --- a/lldb/source/Core/ValueObjectChild.cpp +++ b/lldb/source/Core/ValueObjectChild.cpp @@ -150,7 +150,7 @@ ValueObjectChild::UpdateValue () else { // Set this object's scalar value to the address of its - // value be adding its byte offset to the parent address + // value by adding its byte offset to the parent address m_value.GetScalar() += GetByteOffset(); } } -- cgit v1.2.3