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/API/SBDebugger.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lldb/source/API/SBDebugger.cpp') diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp index 35a66ae55d0..827892453a0 100644 --- a/lldb/source/API/SBDebugger.cpp +++ b/lldb/source/API/SBDebugger.cpp @@ -149,6 +149,13 @@ SBDebugger::SkipLLDBInitFiles (bool b) m_opaque_sp->GetCommandInterpreter().SkipLLDBInitFiles (b); } +void +SBDebugger::SkipAppInitFiles (bool b) +{ + if (m_opaque_sp) + m_opaque_sp->GetCommandInterpreter().SkipAppInitFiles (b); +} + // Shouldn't really be settable after initialization as this could cause lots of problems; don't want users // trying to switch modes in the middle of a debugging session. void -- cgit v1.2.3