GDBServerFoundation::RegisterValue Struct Reference

Contains the value of a single register. Register values are normally passed via RegisterSetContainer objects. More...

#include <GDBRegisters.h>

Public Member Functions

 RegisterValue ()
 Creates a new instance of RegisterValue and flags it as invalid.
 
 RegisterValue (unsigned integralValue, unsigned char sizeInBytes)
 Creates a new instance of RegisterValue containing the actual value.
 
unsigned ToUInt32 () const
 Converts the little-endian value to a 32-bit integer.
 
unsigned short ToUInt16 () const
 Converts a little-endian value to a 16-bit integer.
 

Public Attributes

bool Valid
 Specifies whether the value is valid.
 
unsigned char SizeInBytes
 Specifies the size in bytes of the register.
 
unsigned char Value [64]
 Contains the register value in the target byte order.
 

Detailed Description

Contains the value of a single register. Register values are normally passed via RegisterSetContainer objects.

Examples:
SimpleWin32Server/SimpleWin32Server.cpp.

Constructor & Destructor Documentation

GDBServerFoundation::RegisterValue::RegisterValue ( )
inline

Creates a new instance of RegisterValue and flags it as invalid.

GDBServerFoundation::RegisterValue::RegisterValue ( unsigned  integralValue,
unsigned char  sizeInBytes 
)
inline

Creates a new instance of RegisterValue containing the actual value.

Member Function Documentation

unsigned short GDBServerFoundation::RegisterValue::ToUInt16 ( ) const
inline

Converts a little-endian value to a 16-bit integer.

unsigned GDBServerFoundation::RegisterValue::ToUInt32 ( ) const
inline

Converts the little-endian value to a 32-bit integer.

Member Data Documentation

unsigned char GDBServerFoundation::RegisterValue::SizeInBytes

Specifies the size in bytes of the register.

bool GDBServerFoundation::RegisterValue::Valid

Specifies whether the value is valid.

unsigned char GDBServerFoundation::RegisterValue::Value[64]

Contains the register value in the target byte order.


The documentation for this struct was generated from the following file: