TraceInfo


This class holds trace information (return value of the debugger.XTrace.Dump function).

[Type]

class TraceInfo:
        FrameNumber = None
        Timestamp = None
        FetchAddress = None
        Mnemonic = None
        ReadAddress = None
        ReadData = None
        WriteAddress = None
        WriteData = None
        VectorAddress = None
        VectorData = None
        IsDma = True

[Variable]

Variable

Description

FrameNumber

This holds frame number information.

Timestamp

This holds time stamp information.

FetchAddress

This holds fetch address information.

Mnemonic

This holds mnemonic information.

ReadAddress

This holds read address information.

ReadData

This holds read data information.

WriteAddress

This holds write address information.

WriteData

This holds write data information.

VectorAddress

This holds vector address information.

VectorData

This holds the vector data.

IsDma

This holds whether the data is DMA or not.

True: The data is DMA.

False: The data is other than DMA.

[Detailed description]

-

TraceInfo is a class, and it is the structure of the return value from the debugger.XTrace.Dump function.

[Example of use]

>>>info = debugger.XTrace.Dump(10)
    853   00h00min00s001ms704us000ns  0x000002c2 movhi 0xffff, gp, r1
    854   00h00min00s001ms706us000ns  0x000002c6 id.w 0x7ff4[r1], r6
    855   00h00min00s001ms706us000ns                                0x03ff9000 R 0x00000000
    856   00h00min00s001ms706us000ns  0x000002ca movhi 0xffff, gp, r1
    857   00h00min00s001ms710us000ns  0x000002ce movea 0x7ff8, r1, r7
    858   00h00min00s001ms712us000ns  0x000002d2 jarl _main+0x36
    859   00h00min00s001ms716us000ns  0x000002dc br _main+0x36
    860   00h00min00s001ms720us000ns  0x00000312 prepare lp, 0x4
    861   00h00min00s001ms720us000ns                                0x03ff9308 W 0x000002d6
    862   00h00min00s001ms724us000ns  0x00000316 br _main+0x2
>>>print info[0].FrameNumber
853
>>>print info[0].Timestamp
1704000
>>>print info[0].FetchAddress
706
>>>print info[0].Mnemonic
movhi 0xffff, gp, r1
>>>print info[0].ReadAddress
None
>>>print info[0].ReadData
None
>>>print info[0].IsDma
False
>>>
>>>print info[2].FrameNumber
855
>>> print info[2].Timestamp
1706000
>>>print info[2].FetchAddress
None
>>>print info[2].Mnemonic
None
>>>print info[2].ReadAddress
67080192