------- Additional Comments From dberlin at gcc dot gnu dot org 2005-04-20 14:27 ------- Subject: Re: New: avr-gcc does not output Dwarf 2 information to track optimized variables' locations
On Wed, 2005-04-20 at 06:40 +0000, tsandnes at atmel dot com wrote: > The dwarf debug information has mechanisms for keeping track of variables > whose > location changes during the execution of a program. This informationis stored > in > an objectfile section called .debug_loc. This is not output by avr-gcc when > optimization is turned on and one should expect this information to be output. > This is fixed in 4.0, where we track and generate location lists for optimized variables. The feature never made it into 3.4 (it missed it by a few weeks). Check the mailing lists and you'll see there was a push to get it into 3.4 that failed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21119