Skip to content

Commit

Permalink
Debugger: Fix handling of pointer fields in messages.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
anevilyak committed Nov 11, 2015
1 parent 6ec7608 commit 190df86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/apps/debugger/value/value_nodes/BMessageValueNode.cpp
Expand Up @@ -504,9 +504,8 @@ BMessageValueNode::_GetTypeForTypeCode(TeamTypeInformation* info,

case B_POINTER_TYPE:
default:
typeName = "";
typeName = "void*";
constraints.SetTypeKind(TYPE_ADDRESS);
constraints.SetBaseTypeName("void");
break;
}

Expand Down

0 comments on commit 190df86

Please sign in to comment.