8.186 TRACEOPT (Instruction trace display options)

8.186.1 Function

The TRACEOPT command determines how the registers are displayed during instruction tracing and
stepping. Entering the command without any argument simply displays the current trace mode.

8.186.2 Syntax

Descriptive

Diagram

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ







¬¬¬¬«




¬

8.186.3 Parameter

TRADITIONAL

Displays the registers following the instruction about to be executed such that pres-
sing enter (to execute the displayed instruction) then shows the next instruction to
be executed followed by the updated registers display.

REGSFIRST

Displays the current register contents followed by the instruction about to be exe-
cuted such that pressing enter (to execute the displayed instruction) then shows the
updated registers followed by the next instruction to be executed.

NOREGS

Suppresses the register display altogether and shows just the instruction to be exe-
cuted.

8.186.4 Examples

Example 1:

Display the instruction trace in traditional mode (instruction followed by registers).

HHC00013I Herc command: 'traceopt traditional'

HHC02203I Hercules inst trace displayed: traditional mode

HHC02267I CP00: PSW=040C10000001D0C4 INST=58E00230 L 14,560(0,0) load

HHC02267I CP00: V:00000230:K:06=00000000 00000000 00000000 00FD4000 .............. .

HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000

HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00FFDE28

HHC02267I CP00: GR08=00000000 GR09=4001D0A4 GR10=00000000 GR11=00000000

HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000

HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000

HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000

HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000

HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10

HHC02267I CP00: PSW=040C10000001D0C8 INST=50E070BC ST 14,188(0,7) store

HHC02267I CP00: V:00FFDEE4:K:06=00FFDE28 00000000 4001D0A4 00000000 ........ .}u....

HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000

HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00FFDE28

HHC02267I CP00: GR08=00000000 GR09=4001D0A4 GR10=00000000 GR11=00000000

HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000

HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000

HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000

HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000

HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10

Figure 329: TRACEOPT command (TRADITIONAL)

Example 2:

Display the instruction trace in regsfirst mode (registers followed by instruction).

HHC00013I Herc command: 'traceopt regsfirst'

HHC02203I Hercules inst trace displayed: regsfirst mode

HHC02267I CP00: PSW=040C00000001D09A

HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000

HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00000000

HHC02267I CP00: GR08=00000000 GR09=00000000 GR10=00000000 GR11=00000000

HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000

HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000

HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000

HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000

HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10

INST=50700230 ST 7,560(0,0) store

HHC02267I CP00: V:00000230:K:06=00000000 00000000 00000000 00FD4000 .............. .

HHC02267I CP00: PSW=040C00000001D09E

HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000

HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00000000

HHC02267I CP00: GR08=00000000 GR09=00000000 GR10=00000000 GR11=00000000

HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000

HHC02267I CP00: CR00=C080EC40 CR01=0FFD7C00 CR02=FFFFFFFF CR03=00000000

HHC02267I CP00: CR04=00000000 CR05=00000000 CR06=00000000 CR07=00000000

HHC02267I CP00: CR08=00000000 CR09=00000000 CR10=00000000 CR11=00000000

HHC02267I CP00: CR12=00000000 CR13=00000000 CR14=EFC00000 CR15=00FEBB10

INST=50900234 ST 9,564(0,0) store

HHC02267I CP00: V:00000234:K:06=00000000 00000000 00FD4000 070E0000 .......... .....

HHC02267I CP00: PSW=040C00000001D0A2

Figure 330: TRACEOPT command (REGSFIRST)

Previous Page Next Page