On Mon, Mar 02, 2009 at 10:16:39AM -0500, David VanHorn wrote: > > > > Disable optimizations, -O0 I believe, and the source code debugger > > will more closely track the actual lines of code. > > Ouch! That takes me from about 1.8k to over 7k.
Yes, but the larger code is a more literal translation of your source code which the debugger can more easily map source code 1:1 to generated assembly. -O0 is handy when learning C and wanting to see an assembly translation. Code should be debugged using the same optimization one will ultimately ship code no matter the debugger seems to jump around. -- David Kelly N4HHE, dke...@hiwaay.net ======================================================================== Whom computers would destroy, they must first drive mad. _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list