Debugger: Fix handling of pointer fields in messages.
BMessageValueNode: - When resolving a pointer field, look up the type by the fully qualified name, as that's how it winds up being stored in the lookup map. Also, due to gcc omitting the unspecified parent type on such pointers entirely, looking them up by base type name this way won't work anyhow.
This commit is contained in:
@@ -504,9 +504,8 @@ BMessageValueNode::_GetTypeForTypeCode(TeamTypeInformation* info,
|
||||
|
||||
case B_POINTER_TYPE:
|
||||
default:
|
||||
typeName = "";
|
||||
typeName = "void*";
|
||||
constraints.SetTypeKind(TYPE_ADDRESS);
|
||||
constraints.SetBaseTypeName("void");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user