The debugger searches for a source file (dir_name/base_name) using the following algorithm:
If dir_name is mapped to another source directory (mapped_dir_name), look for mapped_dir_name/base_name.
If Step 1 fails to find a readable file:
Case 1: If dir_name is absolute, look for dir_name/base_name.
Case 2: If dir_name is relative, for each entry use_dir in use_list, look for use_dir/dir_name/base_name. The debugger attempts to use the directories in use_list in the order in which they appear.
If Step 2 fails, for each entry use_dir in use_list, look for use_dir/base_name. The debugger attempts to use the directories in use_list in the order in which they appear.
If Step 3 fails, the debugger cannot find any source file.
The debugger uses the first-found readable file as the source file.
Copyright © 2001-2011, Intel Corporation. All rights reserved.