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
Add a comment