[En-Nut-Discussion] Fwd: Not fixed!!!: Re: confirmed!!! Re: NutOS 4.4.0 on ARM7: possibly bug in NutEnterCritical / NutExitCritical

duane ellis ethernut at duaneellis.com
Sat Feb 23 03:02:33 CET 2008


Earlier in this long chain of emails there was some discussion about the 
idea of pushing things onto the stack in ways that the compiler does not 
know about, there is another place you have not thought about.

If you do things like this, your *DEBUGGER* might not work any more.
And that will be even worse.

There are times when - for instance GDB will push things onto the stack 
while you are stepping through code or printing variables.

Do a google search for:   "gdb  + push_frame_dummy"

And you will find examples of when/where/how GDB does this.

I will tell you that other _commercial_ debuggers sometimes do the same 
thing.

-Duane.









More information about the En-Nut-Discussion mailing list