29 May 2012 18:20
Default compilation with -g?
Bertrik Sikken <bertrik <at> sikken.nl>
2012-05-29 16:20:48 GMT
2012-05-29 16:20:48 GMT
Hi all, While debugging a problem using our shiny new ARM backtrace feature, I noticed that by default, we're not building with -g (= include debugging information in the binary). This means that with the default build, I can't get the source code line from the backtrace addresses (with arm-elf-eabi-addr2line) How about enabling option -g by default? I don't think it adds anything to the binary that runs on the targets, but perhaps a bit to the intermediate results on the build clients. With kind regards, Bertrik
RSS Feed