GNU Compiler Collection (GCC) Internals: File Names and DBX |
---|
Next: SDB and DWARF, Previous: DBX Hooks, Up: Debugging Info [Contents][Index]
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 true
.
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_OPT
stab 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.
Define this macro instead of defining
DBX_OUTPUT_MAIN_SOURCE_FILE_END
, if what needs to be output at
the end of compilation is an N_SO
stab with an empty string,
whose value is the highest absolute text address in the file.
Next: SDB and DWARF, Previous: DBX Hooks, Up: Debugging Info [Contents][Index]