[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Re: sprintf
From: |
David Kelly |
Subject: |
Re: [avr-gcc-list] Re: sprintf |
Date: |
Fri, 27 Feb 2009 21:02:29 -0600 |
On Feb 27, 2009, at 4:24 PM, David VanHorn wrote:
Here's a studio question though:
When stepping thru the code, the pointer isn't always pointing to
the line properly.
Sometimes when it exits a function, it ends up pointing at the last
brace, sometimes not.
Sometimes when it enters a function, it ends up pointing at the
first brace, sometimes not.
Basically, I'm never SURE that the pointer is pointing to the code
that's about to be executed.
Disable optimizations, -O0 I believe, and the source code debugger
will more closely track the actual lines of code.
Also make sure you have specified -g in the compiler flags.
--
David Kelly N4HHE, address@hidden
========================================================================
Whom computers would destroy, they must first drive mad.
- [avr-gcc-list] sprintf, David VanHorn, 2009/02/26
- Re: [avr-gcc-list] sprintf, Dave Hylands, 2009/02/26
- Re: [avr-gcc-list] sprintf, David VanHorn, 2009/02/26
- [avr-gcc-list] Re: sprintf, David Brown, 2009/02/27
- Re: [avr-gcc-list] Re: sprintf, Vincent Trouilliez, 2009/02/27
- Re: [avr-gcc-list] Re: sprintf, David VanHorn, 2009/02/27
- Re: [avr-gcc-list] Re: sprintf, Vincent Trouilliez, 2009/02/27
- Re: [avr-gcc-list] Re: sprintf, David VanHorn, 2009/02/27
- Re: [avr-gcc-list] Re: sprintf,
David Kelly <=
- Re: [avr-gcc-list] Re: sprintf, Russell Shaw, 2009/02/28
- [avr-gcc-list] Re: sprintf, David Brown, 2009/02/28
- Re: [avr-gcc-list] Re: sprintf, David VanHorn, 2009/02/28
- Re: [avr-gcc-list] Re: sprintf, David Kelly, 2009/02/27
- Re: [avr-gcc-list] Re: sprintf, David VanHorn, 2009/02/27
- Re: [avr-gcc-list] Re: sprintf, Daniel O'Connor, 2009/02/27
- [avr-gcc-list] Re: sprintf, David Brown, 2009/02/28
- RE: [avr-gcc-list] Re: sprintf, Weddington, Eric, 2009/02/28