SLAU646F September 2015 – June 2020
Figure 3-10 shows the MSP430 GCC Debugging settings window.
Table 3-8 describes the options that are available for MSP430 GCC Debugging settings.
Option | Description |
---|---|
Generate debug information (-g) | Produce debugging information. This information is required by the GDB debugger. |
Generate debug information in DWARF version (-gdwarf-) | Produce debugging information in DWARF format (if that is supported). The value of version may be 2, 3 or 4; the default version for most targets is 4. |
Do not emit DWARF additions beyond selected version (-gstrict-dwarf) | Disallow using extensions of later DWARF standard version than selected with -gdwarf-version. On most targets using nonconflicting DWARF extensions from later standard versions is allowed. |
Enable function profiling (-p) | Generate extra code to write profile information suitable for the analysis program. This option is required when compiling source files for which data is needed, and it is also required when linking. |