Next: , Previous: DBX Options, Up: Debugging Info


17.21.3 Open-Ended Hooks for DBX Format

These are hooks for DBX format.

— Macro: DBX_OUTPUT_SOURCE_LINE (stream, line, counter)

A C statement to output DBX debugging information before code for line number line of the current source file to the stdio stream stream. counter is the number of time the macro was invoked, including the current invocation; it is intended to generate unique labels in the assembly output.

This macro should not be defined if the default output is correct, or if it can be made correct by defining DBX_LINES_FUNCTION_RELATIVE.

— Macro: NO_DBX_FUNCTION_END

Some stabs encapsulation formats (in particular ECOFF), cannot handle the .stabs "",N_FUN,,0,0,Lscope-function-1 gdb dbx extension construct. On those machines, define this macro to turn this feature off without disturbing the rest of the gdb extensions.

— Macro: NO_DBX_BNSYM_ENSYM

Some assemblers cannot handle the .stabd BNSYM/ENSYM,0,0 gdb dbx extension construct. On those machines, define this macro to turn this feature off without disturbing the rest of the gdb extensions.