Controlling Separate Debug Files

The following command line options and CLI variables control how TotalView handles separate debug files.

Controls whether TotalView looks for either a build ID or a .gnu_debuglink section in image files:

Command line options -gnu_debuglink and -no_gnu_debuglink

State variable TV::gnu_debuglink

This option basically turns on or off the functionality to support separate debug files.

Sets the search path to use when looking for debug files referenced by a .gnu_debuglink section:

Command line option -gnu_debuglink_search_path

State variable TV::gnu_debuglink_search_path

Sets the search path to use when looking for debug files referenced by a .note.gnu.build-id section:

Command line option -gnu_debuglink_build_id_search_path

State variable TV::gnu_debuglink_build_id_search_path

Specifies the global debug directory:

Command line option -gnu_debuglink_global_directory

State variable TV::gnu_debuglink_global_directory

Validates the separate .gnu_debuglink debug file:

Validate using a build ID, if available

Command line option -gnu_debuglink_check_build_id

State variable TV::gnu_debuglink_check_build_id

Validate using a checksum

Command line option -gnu_debuglink_checksum

State variable TV::gnu_debuglink_checksum