8.176 T (Instruction trace)

8.176.1 Function

This command sets the instruction tracing range. Instruction tracing is totally separate from the instruction
stepping and breaking range. With or without a range the “T” command displays whether tracing is on or
off and the range, if any.

The “T” command by itself does not activate instruction tracing. Use the “T+” command to activate
instruction tracing. The command “T 0” eliminates the range (all addresses will be traced).

8.176.2 Syntax

Descriptive

T [
addr-addr addr.length

Diagram

Êʬ¬¬ T ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ



addr-addr ¬¬¬¬«



¬¬¬ ¬
¬¬¬¬«



addr.length ¬¬¬«



¬¬

8.176.3 Parameter

addr-addr

Specifies an address range with start and end address (from begin address to end
address).

addr:addr

Specifies an address range with start and end address (from begin address to end
address).

addr.length

Specifies an address range with start and length (from begin address with the spe-
cified length).

0

No range is specified or an existing range is reset. The tracing is active for all
addresses.

8.176.4 Examples

Example 1:

Set instruction tracing range with begin and end address and query the range afterwards.

HHC00013I Herc command: 't 100000-101000'

HHC02229I Instruction tracing off range 100000-101000

HHC00013I Herc command: 't?'

HHC02229I Instruction tracing off range 100000-101000

Figure 312: T command (address range)

Example 2:

Set instruction tracing range with start address and length and query the range afterwards.

HHC00013I Herc command: 't 1000000.1000'

HHC02229I Instruction tracing off range 1000000.1000

HHC00013I Herc command: 't?'

HHC02229I Instruction tracing off range 1000000-1001000

Figure 313: T command (address with length)

Example 3:

Set instruction tracing for all addresses and query the range afterwards.

HHC00013I Herc command: 't 0'

HHC02229I Instruction tracing off

HHC00013I Herc command: 't?'

HHC02229I Instruction tracing off

Figure 314: T command (all addresses)

Previous Page Next Page