System Debug Reference Manual (32650-90888)

190 Chapter5
System Debug Command Specifications Fx-LOG
LIST
0) SP=402211e8 RP=25d.00015d38 average+$b0
* 1) SP=402211e8 RP=25d.00015c74 ?average+$8
export stub: 25c.00005d98 processstudent+$74
2) SP=40221180 RP=25c.00006b1c PROGRAM+$300
3) SP=40221100 RP=25c.00000000
(end of NM stack)
Use the LEV command to set the environment to stack level 1, interrupt level 1. A stack
trace confirms that the environment has been correctly changed.
Limitations, Restrictions
You must be at stack level 0 in order to modify any registers.
For native mode code, if you are in procedure entry or exit code, this command may not
function properly. For example, if the user is stopped in entry code, callee save registers
have not been saved and therefore are restored incorrectly. Other scenarios exist.
If the environment for the CM stack is set to a level that is a switch marker, no values for
CMPC and CIR are available.
LIST
Controls the recording of input and output to a list file.
Syntax
LIST
LIST [
filename
]
LIST [ON ]
LIST [OFF]
LIST [CLOSE]
All Debug input/output is recorded to an open, active list file. This includes the prompt,
user command input, and all resulting output, with the exception of window displays and
updates. Users typically use the list file to record Debug output to a file for later reference
or printing.
LIST, entered alone, displays the state of the list file, including the file name, if open, and
current status (ON/OFF).
LIST
filename
opens the specified file and activates (turns ON) the list file. If another list
file was already opened, it is first closed (saved), before the new file is opened.
LIST ON and LIST OFF can be used to activate/deactivate the currently opened list file. The
file remains open (pending), but Debug output is not recorded if the list file is OFF.
LIST CLOSE closes (saves) the current opened list file.