gcc.info: File Names and DBX
Go forward to SDB and DWARF
Go backward to DBX Hooks
Go up to Debugging Info
Go to the top op gcc
File Names in DBX Format
This describes file names in DBX format.
`DBX_WORKING_DIRECTORY'
Define this if DBX wants to have the current directory recorded in
each object file.
Note that the working directory is always recorded if GDB
extensions are enabled.
`DBX_OUTPUT_MAIN_SOURCE_FILENAME (STREAM, NAME)'
A C statement to output DBX debugging information to the stdio
stream STREAM which indicates that file NAME is the main source
file--the file specified as the input file for compilation. This
macro is called only once, at the beginning of compilation.
This macro need not be defined if the standard form of output for
DBX debugging information is appropriate.
`DBX_OUTPUT_MAIN_SOURCE_DIRECTORY (STREAM, NAME)'
A C statement to output DBX debugging information to the stdio
stream STREAM which indicates that the current directory during
compilation is named NAME.
This macro need not be defined if the standard form of output for
DBX debugging information is appropriate.
`DBX_OUTPUT_MAIN_SOURCE_FILE_END (STREAM, NAME)'
A C statement to output DBX debugging information at the end of
compilation of the main source file NAME.
If you don't define this macro, nothing special is output at the
end of compilation, which is correct for most machines.
`DBX_OUTPUT_SOURCE_FILENAME (STREAM, NAME)'
A C statement to output DBX debugging information to the stdio
stream STREAM which indicates that file NAME is the current source
file. This output is generated each time input shifts to a
different source file as a result of `#include', the end of an
included file, or a `#line' command.
This macro need not be defined if the standard form of output for
DBX debugging information is appropriate.
Created Wed Sep 1 16:42:26 2004 on bee with info_to_html version 0.9.6.