DWARF

From Free Pascal wiki
Revision as of 16:10, 15 October 2019 by Djzepi (talk | contribs) (Created page with "{{DWARF}} DWARF (Debugging With Attributed Record Formats) is one debugging data format. Debugging information is generated by the compiler together with the m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

English (en) suomi (fi)

DWARF (Debugging With Attributed Record Formats) is one debugging data format.

Debugging information is generated by the compiler together with the machine code. Debugging information is read by the debugger. Debugging information is a representation of the relationship between the executable program and the original source code. This information is encoded into a pre-defined format and stored alongside the machine code.

The FPC provides the following DWARF-compatible debugging information with command line parameters:

  • -gw2 Generate DWARFv2 debug information
  • -gw3 Generate DWARFv3 debug information
  • -gw4 Generate DWARFv4 debug information