diff options
Diffstat (limited to 'lldb/source/Target')
-rw-r--r-- | lldb/source/Target/StackFrame.cpp | 4 | ||||
-rw-r--r-- | lldb/source/Target/ThreadPlanStepInRange.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Target/StackFrame.cpp b/lldb/source/Target/StackFrame.cpp index 2be00d659a1..2c45df149cc 100644 --- a/lldb/source/Target/StackFrame.cpp +++ b/lldb/source/Target/StackFrame.cpp @@ -239,7 +239,7 @@ StackFrame::ChangePC (addr_t pc) m_frame_code_addr.SetOffset(pc); m_frame_code_addr.SetSection(NULL); m_sc.Clear(); - m_flags.SetAllFlagBits(0); + m_flags.Reset(0); m_thread.ClearStackFrames (); } @@ -299,7 +299,7 @@ const SymbolContext& StackFrame::GetSymbolContext (uint32_t resolve_scope) { // Copy our internal symbol context into "sc". - if ((m_flags.GetAllFlagBits() & resolve_scope) != resolve_scope) + if ((m_flags.Get() & resolve_scope) != resolve_scope) { // Resolve our PC to section offset if we haven't alreday done so // and if we don't have a module. The resolved address section will diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp index 74e059fe642..92f78bbd14b 100644 --- a/lldb/source/Target/ThreadPlanStepInRange.cpp +++ b/lldb/source/Target/ThreadPlanStepInRange.cpp @@ -231,7 +231,7 @@ ThreadPlanStepInRange::DefaultShouldStopHereCallback (ThreadPlan *current_plan, StackFrame *frame = current_plan->GetThread().GetStackFrameAtIndex(0).get(); Log *log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_STEP); - if (flags.IsSet(eAvoidNoDebug)) + if (flags.Test(eAvoidNoDebug)) { if (!frame->HasDebugInformation()) { |