diff options
Diffstat (limited to 'lldb/source/Commands')
-rw-r--r-- | lldb/source/Commands/CommandObjectExpression.cpp | 1 | ||||
-rw-r--r-- | lldb/source/Commands/CommandObjectFrame.cpp | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index fd9271b3b5e..220801f132c 100644 --- a/lldb/source/Commands/CommandObjectExpression.cpp +++ b/lldb/source/Commands/CommandObjectExpression.cpp @@ -257,7 +257,6 @@ CommandObjectExpression::EvaluateExpression result_valobj_sp->SetFormat (m_options.format); ValueObject::DumpValueObject (output_stream, - m_exe_ctx.GetBestExecutionContextScope(), result_valobj_sp.get(), // Variable object to dump result_valobj_sp->GetName().GetCString(),// Root object name 0, // Pointer depth to traverse (zero means stop at pointers) diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp index 25f7638ef7d..8c83b674fc3 100644 --- a/lldb/source/Commands/CommandObjectFrame.cpp +++ b/lldb/source/Commands/CommandObjectFrame.cpp @@ -501,7 +501,6 @@ public: } ValueObject::DumpValueObject (result.GetOutputStream(), - exe_ctx.frame, valobj_sp.get(), name_cstr, m_options.ptr_depth, @@ -563,7 +562,6 @@ public: } ValueObject::DumpValueObject (result.GetOutputStream(), - exe_ctx.frame, valobj_sp.get(), var_sp->GetName().AsCString(), m_options.ptr_depth, @@ -608,7 +606,6 @@ public: s.PutCString (": "); } ValueObject::DumpValueObject (result.GetOutputStream(), - exe_ctx.frame, valobj_sp.get(), valobj_sp->GetParent() ? name_cstr : NULL, ptr_depth, @@ -686,7 +683,7 @@ public: // When dumping all variables, don't print any variables // that are not in scope to avoid extra unneeded output - if (valobj_sp->IsInScope (exe_ctx.frame)) + if (valobj_sp->IsInScope ()) { if (m_options.show_decl && var_sp->GetDeclaration ().GetFile()) { @@ -694,7 +691,6 @@ public: s.PutCString (": "); } ValueObject::DumpValueObject (result.GetOutputStream(), - exe_ctx.frame, valobj_sp.get(), name_cstr, m_options.ptr_depth, |