Skip to main content

Generate/load debug information using Greenhills Compiler - Knowledgebase / FAQs by core architecture / Arm - Lauterbach Support

Generate/load debug information using Greenhills Compiler

Depending on the version, the following parameters must be passed to the compiler:

  • C-Code: -g -dual_debug -dwarf2
  • C++-Code: -g -dual_debug -dwarf2 -no_ignore_debug_references

Please note that not all options can be selected in the user interface and must be added manually in the compilers' configuration file. Within TRACE32 it is recommended to load the files with option /GHS e.g.:

Data.LOAD.Elf filename /GHS
Helpful Unhelpful