BitfieldMemberInfo Structure

Represents a single bit field member extracted from the DWARF symbols.

Definition

Namespace: VisualGDBExtensibility.LiveWatch
Assembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
C#
public struct BitfieldMemberInfo
Inheritance
Object    ValueType    BitfieldMemberInfo

Remarks

Each bit field member is represented by an instance of IPinnedVariable, just like ordinary struct members. The byte-level Address and Size fields describe the entire range of bytes representing the bit field member. Use the ShiftAndMask(Byte) method to translate it to an isolated value that can be passed to FormatValue(Byte).

Constructors

BitfieldMemberInfoInitializes a new instance of the BitfieldMemberInfo class

Properties

IsValid Specifies whether the given instance of BitfieldMemberInfo is valid.

Methods

FromDWARFTag Creates an instance of BitfieldMemberInfo from the values of the DWARF attributes.
ShiftAndMask Takes a raw, unshifted value of all bytes covering the member and translates it to a properly shifted and masked value, as if the BitOffsetFromLSB was 0, and the value was padded with zeroes on the right.
ToString
(Overrides ValueTypeToString)

Fields

BitCount Size, in bits, of the member.
BitOffsetFromLSB Offset, in bits, from the byte-level start of the member.

See Also