
Invoking the Debugger
1-14
Identifying additional directories (–i option)
The –i option identifies additional directories that contain your source files.
Replace
pathname with an appropriate directory name. You can specify sev-
eral pathnames; use the –i option as many times as necessary. For example:
sim6x –i
pathname
1
–i
pathname
2
–i
pathname
3
. . .
Using –i is similar to using the D_SRC environment variable (see
Setting up
the environment variables in the appropriate installation guide). If you name
directories with both –i and D_SRC, the debugger first searches through direc-
tories named with –i. The debugger can track a cumulative total of 20 paths
(including paths specified with –i, D_SRC, and the debugger USE command).
Selecting the minimal debugging mode (–min option)
By default, the debugger automatically displays whatever code is currently
running: assembly language or C. By default, the MEMORY, COMMAND,
DISASSEMBLY, and CPU windows are displayed. You may also display other
windows, such as the DISP and WATCH windows.
The debugger has a
minimal debugging mode that displays the COMMAND,
WATCH, and DISP windows only. The WATCH and DISP windows are dis-
played only if you cause them to display (by entering the WA or DISP com-
mands). Minimal mode may be useful when you need to debug a memory
problem.
To invoke the debugger and enter minimal mode, use the –min option:
sim6x –min . . .
For more information about the windows in the debugger interface, see Sec-
tion 3.2,
Descriptions of the Different Kinds of Windows and Their Contents.
Entering the profiling environment (–profile option)
The –profile option allows you to bring up the debugger in a profiling environ-
ment so that you can collect statistics about code execution. Note that only a
subset of the basic debugger features is available in the profiling environment.
Loading the symbol table only (–s option)
If you supply a
filename when you invoke the debugger, you can use the –s
option to tell the debugger to load only the file’s symbol table (without the file’s
object code). This option is useful in a debugging environment in which the
debugger cannot, or need not, load the object code (for example, if the code
is in ROM). Using this option is similar to loading a file by using the debugger’s
SLOAD command.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...