Searching for the gnu_debug_link File
If theTV::gnu_debuglink variable is true and if the process contains a .gnu_debug_link section, TotalView searches for the gnu_debug_link file as follows:
1. In the directory containing the program.
2. In the .debug subdirectory of the directory containing the program.
3. In a directory named in the TV::gnu_debuglink_global_directory variable.
For example, assume that the program’s pathname is /A/B/hello_world and the debug filename stored in the .gnu_debuglink section of this program is hello_world.debug. If the TV::gnu_debuglink_global_directory variable is set to /usr/lib/debug, TotalView searches for the following files:
1. /A/B/hello_world.debug
2. /A/B/.debug/hello_world.debug
3. /usr/lib/debug/A/B/hello_world.debug