#include <crashdata.h>
Link against: cdssupport.lib

Class TRegisterData

Interface access: publishedPartner

class TRegisterData;

Description

Detailed information about a register. The Symbian ELF format defines the register identification format. The Debug Security Server implements this format.

Members

Defined in TRegisterData More...

See also:

Member functions


GetId()const

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C TUint16 GetId() const;

Description

Return the register identifier.

Return value

TUint16


GetSubId()const

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C TUint16 GetSubId() const;

Description

Return the register sub-identifier.

Return value

TUint16


GetSize()const

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C TUint8 GetSize() const;

Description

Return the register size in number of bits.

Return value

TUint8


GetClass()const

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C TUint8 GetClass() const;

Description

Return the register class

Return value

TUint8


SameRegister(const TRegisterData &)const

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C TBool SameRegister(const TRegisterData &other) const;

Description

Returns ETrue if all the register's attributes are the same, exclugin the contents

Parameters

const TRegisterData &other

The register to compare the attributes against

Return value

TBool


GetContent8()const

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C TUint8 GetContent8() const;

Description

Return the register value as 8 bits

Return value

TUint8


GetContent16()const

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C TUint16 GetContent16() const;

Description

Return the register value as 16 bits

Return value

TUint16


GetContent32()const

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C TUint32 GetContent32() const;

Description

Return the register value as 32 bits

Return value

TUint32


GetContent64()const

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C TUint64 GetContent64() const;

Description

Return the register value as 64 bits

Return value

TUint64


SetContent8(const TUint8)

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C void SetContent8(const TUint8 aVal);

Description

Set the register value as 8 bits

Parameters

const TUint8 aVal

The value to set the register contents to


SetContent16(const TUint16)

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C void SetContent16(const TUint16 aVal);

Description

Set the register value as 16 bits

Parameters

const TUint16 aVal

The value to set the register contents to


SetContent32(const TUint32)

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C void SetContent32(const TUint32 aVal);

Description

Set the register value as 32 bits

Parameters

const TUint32 aVal

The value to set the register contents to


SetContent64(const TUint64)

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C void SetContent64(const TUint64 aVal);

Description

Set the register value as 64 bits

Parameters

const TUint64 aVal

The value to set the register contents to


SetContent(const TUint)

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C void SetContent(const TUint aVal);

Description

Set the register value, casting it to the correct size.

Parameters

const TUint aVal

The value to set the register contents to.


SetContent(const TRegisterData &)

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C void SetContent(const TRegisterData &other);

Description

Takes the content from another TRegisterData

Parameters

const TRegisterData &other

The register to copy the contents from


Available()const

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C TBool Available() const;

Description

Return ETrue if the register content was obtained correctly

Return value

TBool


SetAvailable(const TBool)

Interface access: publishedPartnerInherited from: crashdata.h

IMPORT_C void SetAvailable(const TBool aAvailable);

Description

Set the register content availability

Parameters

const TBool aAvailable

Member enumerations


Enum TRegisterRepresentation

Interface access: publishedPartnerInherited from: crashdata.h

TRegisterRepresentation

Description

This is the same as symbianelfdefs.h ESYM_REGREP.

ERegRepr8

8 Bit register

ERegRepr16

16 Bit register

ERegRepr32

32 Bit register

ERegRepr64

64 Bit register

ERegReprLast


Enum TRegisterClass

Interface access: publishedPartnerInherited from: crashdata.h

TRegisterClass

Description

This is the same as symbianelfdefs.h ESYM_REGCLASS.

ERegClassCore

A Core register

ERegClassCoPro

A Co Processor register

ERegClassLast

Member data


regInfo

Interface access: publishedPartnerInherited from: crashdata.h

TRegisterInfo regInfo;

Description

Used when calling the Debug Security Server


iId

Interface access: publishedPartnerInherited from: crashdata.h

TUint16 iId;

Description

Same as Sym32_reginfod::rd_id if rid_class == ESYM_REG_CORE rd_id is one of rm_debug_api.h::TFunctionalityRegister else rd_id is CoProcessor number, eg 15 for ARM CP15


iRegClass

Interface access: publishedPartnerInherited from: crashdata.h

TUint8 iRegClass;

Description

Same as Sym32_reginfod::rid_class Type of register ESYM_REG_CLASS :{ ESYM_REG_CORE = 0, ESYM_REG_COPRO = 1 }


iSubId

Interface access: publishedPartnerInherited from: crashdata.h

TUint16 iSubId;

Description

Same as Sym32_reginfod::rd_sub_id Only used if rid_clas == ESYM_REG_COPRO

Bitfield is made up of the following fields: bits 13 to 11 : OpCode2 bits 10 to 8 : OpCode1 bits 7 to 4 : CRn bits 3 to 0 : CRm


iSize

Interface access: publishedPartnerInherited from: crashdata.h

TUint8 iSize;

Description

Same as Sym32_reginfod::rd_repre { ESYM_REG_8 == 0, ESYM_REG_16 == 1, ESYM_REG_32 == 2, ESYM_REG_64 == 3 } Determines which version of GetContent*() to use


iAvailable

Interface access: publishedPartnerInherited from: crashdata.h

TBool iAvailable;

Description

True if the content of this register was succesfully obtained from the target


iValue8

Interface access: publishedPartnerInherited from: crashdata.h

TUint8 iValue8;

Description

Value of an 8 bit register


iValue16

Interface access: publishedPartnerInherited from: crashdata.h

TUint16 iValue16;

Description

Value of a 16 bit register


iValue32

Interface access: publishedPartnerInherited from: crashdata.h

TUint32 iValue32;

Description

Value of a 32 bit register


iValue64

Interface access: publishedPartnerInherited from: crashdata.h

TUint64 iValue64;

Description

Value of a 64 bit register


iSpare1

Interface access: internal to technology

TUint32 iSpare1;

Description

Reserved for future use


iSpare2

Interface access: internal to technology

TUint32 iSpare2;

Description


iSpare3

Interface access: internal to technology

TUint32 iSpare3;

Description