Change "frame var" over to using OptionGroups (and thus the OptionGroupVariableObjectDisplay).
Change the boolean "use_dynamic" over to a tri-state, no-dynamic, dynamic-w/o running target,
and dynamic with running target.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130832 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectMemory.cpp b/source/Commands/CommandObjectMemory.cpp
index 85b939c..91144e5 100644
--- a/source/Commands/CommandObjectMemory.cpp
+++ b/source/Commands/CommandObjectMemory.cpp
@@ -643,7 +643,6 @@
if (format != eFormatDefault)
valobj_sp->SetFormat (format);
- bool use_dynamic = false;
bool scope_already_checked = true;
ValueObject::DumpValueObject (*output_stream,
@@ -655,7 +654,7 @@
m_varobj_options.show_types,
m_varobj_options.show_location,
m_varobj_options.use_objc,
- use_dynamic,
+ m_varobj_options.use_dynamic,
scope_already_checked,
m_varobj_options.flat_output);
}