Debugger: Fix type issue in BList handler.

BListValueNode:
- BList's item count member is an int32. However, when the handler was reading
  said variable, it was mistakenly reading the number of bytes corresponding to
  to the address size of the architecture instead.This would cause the read to
  fail, and consequently BList and/or BObjectList variables to not display
  their contents properly on x86-64.
This commit is contained in:
Rene Gollent
2018-01-11 22:39:55 -05:00
parent bbb5a50f9b
commit ffe684b96c
@@ -274,7 +274,7 @@ BListValueNode::ResolvedLocationAndValue(ValueLoader* valueLoader,
fItemCountLocation = memberLocation->PieceAt(0).address;
BVariant listSize;
error = valueLoader->LoadValue(memberLocation, valueType,
error = valueLoader->LoadValue(memberLocation, B_INT32_TYPE,
false, listSize);
if (error != B_OK)
return error;