From bdf3162f53bc3913c4a61476264d559a6ae40ea6 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Sat, 1 Oct 2011 01:53:20 +0000 Subject: [PATCH] Fixed an issue where a variable whose value is in a register might end up not saying that its children are load addresses. llvm-svn: 140921 --- lldb/source/Core/ValueObjectVariable.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lldb/source/Core/ValueObjectVariable.cpp b/lldb/source/Core/ValueObjectVariable.cpp index bc5dd2612788..58e37bdfc9ef 100644 --- a/lldb/source/Core/ValueObjectVariable.cpp +++ b/lldb/source/Core/ValueObjectVariable.cpp @@ -156,11 +156,8 @@ ValueObjectVariable::UpdateValue () SetAddressTypeOfChildren(eAddressTypeHost); break; case Value::eValueTypeLoadAddress: - SetAddressTypeOfChildren(eAddressTypeLoad); - break; case Value::eValueTypeScalar: - // TODO: is this the right thing to do? - SetAddressTypeOfChildren(eAddressTypeInvalid); + SetAddressTypeOfChildren(eAddressTypeLoad); break; }