17.22.4 File Names in DBX Format
This describes file names in DBX format.
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.
It may be necessary to refer to a label equal to the beginning of the text section. You can use assemble_name (stream, ltext_label_name) to do so. If you do this, you must also set the variable used_ltext_label_name to
Define this macro, with value 1, if GCC should not emit an indication of the current directory for compilation and current source language at the beginning of the file.
Define this macro, with value 1, if GCC should not emit an indication that this object file was compiled by GCC. The default is to emit an
N_OPTstab at the beginning of every source file, with gcc2_compiled. for the string and value 0.
A C statement to output DBX debugging information at the end of compilation of the main source file name. Output should be written to the stdio stream stream.
If you don't define this macro, nothing special is output at the end of compilation, which is correct for most machines.