diff options
author | Jim Ingham <jingham@apple.com> | 2011-03-31 00:19:25 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-03-31 00:19:25 +0000 |
commit | 6035b67d2c27cc1af134293acb06ce7463f88671 (patch) | |
tree | b560151fdc63ab7c4f23a1526516daa7745f838c /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | 3a195b7e7818e2828fba055e9397a07e71804bc6 (diff) | |
download | bcm5719-llvm-6035b67d2c27cc1af134293acb06ce7463f88671.tar.gz bcm5719-llvm-6035b67d2c27cc1af134293acb06ce7463f88671.zip |
Convert ValueObject to explicitly maintain the Execution Context in which they were created, and then use that when they update themselves. That means all the ValueObject evaluate me type functions that used to require a Frame object now do not. I didn't remove the SBValue API's that take this now useless frame, but I added ones that don't require the frame, and marked the SBFrame taking ones as deprecated.
llvm-svn: 128593
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectFrame.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
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, |