diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-05-30 00:39:48 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-05-30 00:39:48 +0000 |
| commit | 5d2fbfed4d4e1fac8a1490ab913acd9a03925fa5 (patch) | |
| tree | 3c279b062f02c995c7617af09ecd666e8aec3837 /lldb/source/Target | |
| parent | a575226fd8a3b63b37739bc2425a28905f3bd72f (diff) | |
| download | bcm5719-llvm-5d2fbfed4d4e1fac8a1490ab913acd9a03925fa5.tar.gz bcm5719-llvm-5d2fbfed4d4e1fac8a1490ab913acd9a03925fa5.zip | |
Disable dynamic types being on by default until kinks get worked out when
they don't update correctly. Currently if a variable is unavailable due to
a register not being available in a higher frame or due to the PC value
not being a valid location list value, "<unknown type>" will get displayed
as the variable type. I am not sure what other things will fail, so I am
disabling it for now just by letting the default enumeration value default
to it being disabled.
llvm-svn: 132303
Diffstat (limited to 'lldb/source/Target')
| -rw-r--r-- | lldb/source/Target/Target.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index 56b798bed08..b199b05ac1f 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -1717,9 +1717,9 @@ TargetInstanceSettings::CreateInstanceName () OptionEnumValueElement TargetInstanceSettings::g_dynamic_value_types[] = { -{ eNoDynamicValues, "no-dynamic-values", "Don't calculate the dynamic type of values"}, -{ eDynamicCanRunTarget, "run-target", "Calculate the dynamic type of values even if you have to run the target."}, -{ eDynamicDontRunTarget, "no-run-target", "Calculate the dynamic type of values, but don't run the target."}, +{ eNoDynamicValues, "no-dynamic-values", "Don't calculate the dynamic type of values"}, +{ eDynamicCanRunTarget, "run-target", "Calculate the dynamic type of values even if you have to run the target."}, +{ eDynamicDontRunTarget, "no-run-target", "Calculate the dynamic type of values, but don't run the target."}, { 0, NULL, NULL } }; @@ -1738,8 +1738,8 @@ Target::SettingsController::instance_settings_table[] = // var-name var-type default enum init'd hidden help-text // ================= ================== =============== ======================= ====== ====== ========================================================================= { TSC_EXPR_PREFIX , eSetVarTypeString , NULL , NULL, false, false, "Path to a file containing expressions to be prepended to all expressions." }, - { TSC_PREFER_DYNAMIC, eSetVarTypeEnum , "no-run-target", g_dynamic_value_types, false, false, "Should printed values be shown as their dynamic value." }, - { TSC_SKIP_PROLOGUE , eSetVarTypeBoolean ,"true" , NULL, false, false, "Skip function prologues when setting breakpoints by name." }, - { TSC_SOURCE_MAP , eSetVarTypeArray ,NULL , NULL, false, false, "Source path remappings to use when locating source files from debug information." }, + { TSC_PREFER_DYNAMIC, eSetVarTypeEnum , NULL , g_dynamic_value_types, false, false, "Should printed values be shown as their dynamic value." }, + { TSC_SKIP_PROLOGUE , eSetVarTypeBoolean, "true" , NULL, false, false, "Skip function prologues when setting breakpoints by name." }, + { TSC_SOURCE_MAP , eSetVarTypeArray , NULL , NULL, false, false, "Source path remappings to use when locating source files from debug information." }, { NULL , eSetVarTypeNone , NULL , NULL, false, false, NULL } }; |

