Download Debugger User`s Manual
Transcript
Freescale Semiconductor, Inc. MORE - Enable/Disable Session Paging LOG [dev_list] [OFF] V(source display status line) Freescale Semiconductor, Inc... The LOG command allows the user to record command entries only, or record all session display output to a file. Recording of commands only is useful as a method of generating macro command files. Recording all session display output provides a convenient way for the user to review the results of an extended sequence of commands. The user would otherwise only have access to the last 100 lines of output on the terminal. Since the output log files are in ASCII format, they may easily be printed or reviewed using an editor program. Entering the LOG command with no parameters will cause a display of the currently opened log filenames. The keyword OFF is used to terminate logging. The C and S key characters are used to specify whether the logfile will contain only commands (C), or all session output (S). The suffixes .cmd and .log are added, respectively, to the commands-only or session filename if no other suffix is specified. The default file path for each target DSP can be changed with the PATH command. If a file currently exists with the filename specified the user will be prompted for an action of either appending the data to the file, overwriting the file, or aborting the command. The selection of the file action may be included in the command line using the -o (overwrite), -a (append), or the -c (cancel) argument. Example 13-30. LOG Command Command Explanation log Display currently opened log files. log s \debugger\session1 Log all display entries to filename "session1.log" in directory "debugger" log c macro1 Log all commands to filename "macro1.cmd". log off c Terminate command logging. log off Terminate all logging. log c macro1 -a Log all commands to filename macro1.cmd. If a file with that name currently exists cancel the execution of the command. 13.31 MORE - Enable/Disable Session Paging MORE [OFF] 13-38 Suite56 ADS Debugger User’s Manual For More Information On This Product, Go to: www.freescale.com Motorola