13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tool OptionsDefault debug in<strong>for</strong>mationThis provides all debug in<strong>for</strong>mation you need to debug your application. It meets the debuggingrequirements in most cases without resulting in oversized assembler/object files.Full debug in<strong>for</strong>mationWith this suboption extra debug in<strong>for</strong>mation is generated about unused typedefs and DWARF "lookuptable sections". Under normal circumstances this extra debug in<strong>for</strong>mation is not needed to debug theprogram. In<strong>for</strong>mation about unused typedefs concerns all typedefs, even the ones that are not used <strong>for</strong>any variable in the program. (Possibly, these unused typedefs are listed in the standard include files.)With this suboption, the resulting assembler/object file will increase significantly.In the following table you see in more detail what DWARF in<strong>for</strong>mation is included <strong>for</strong> the debug optionlevels.Feature-g1-g2-g3type checkRemarksbasic info++++info such as symbol name and typecall frame++++this is in<strong>for</strong>mation <strong>for</strong> a debugger to computea stack trace when a program has stoppedat a breakpointsymbol lifetime++this is in<strong>for</strong>mation about where symbols live(e.g. on stack at offset so and so, when theprogram counter is in this range)line number info+++file name, line number, column number”lookup tables"+DWARF sections ... this is an optimization<strong>for</strong> the DWARF data, it is not essentialunused typedefs+in the C/C++ code of the program there canbe (many) typedefs that are not used <strong>for</strong> anyvariable. Sometimes this can causeenormous expansion of the DWARF data andthus it is only included in -g3.Related in<strong>for</strong>mation-307

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!