Debugging a Program With dbx

Locating Files

All files created by dbx are placed in the directory /tmp unless the environment variable TMPDIR is set, in which case the directory $TMPDIR is used.

If your source files are not where they were when they were compiled, or if you compiled on a different machine than you are debugging on and the compile directory is not mounted as the same pathname, dbx cannot find them. See the pathmap command in Chapter 1, Starting dbx" for a solution.