
Where the Debugger Looks for Source Files
6-9
Loading, Displaying, and Running Code
6.4
Where the Debugger Looks for Source Files
Some commands (FILE, LOAD, RELOAD, and SLOAD) expect a filename as
a parameter. If the filename includes path information, the debugger uses the
file from the specified directory and doesn’t search for the file in any other
directory. If you don’t supply path information, the debugger must search for
the file. The debugger first looks for these files in the current directory. You
may, however, have your files in several different directories.
-
If you’re using LOAD, RELOAD, or SLOAD, you can specify the path as
part of the filename.
-
If you’re using the FILE command, you have several options:
J
Within the operating-system environment, you can name additional
directories with the D_SRC environment variable. The format for
doing this is:
setenv D_SRC ”
pathname;pathname”
This allows you to name several directories that the debugger can
search.
J
When you invoke the debugger, you can use the – i option to name
additional source directories for the debugger to search. The format
for this option is –i
pathname.
You can specify multiple pathnames by using several –i options (one
pathname per option). The list of source directories that you create
with –i options is valid until you quit the debugger.
use
J
Within the debugger environment, you can use the USE command to
name additional source directories. The format for this command is:
use
directory name
You can specify only one directory at a time.
In all cases, you can use relative pathnames such as ../csource or ../../code.
The debugger can recognize a cumulative total of 20 paths specified with
D_SRC, –i, and USE.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...