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.

llvm-svn: 130832
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp
index 85b939c..91144e5 100644
--- a/lldb/source/Commands/CommandObjectMemory.cpp
+++ b/lldb/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);
                 }