krollin wrote:
>Well, if the compiler didn't put the variable on the stack, then how could it
>generate its address?  It can't, therefore, the variable *is* on the stack.
>QED.

A compiler can *allocate* space for a variable on the stack.  But if it
never initializes the variable, there will never be an actual memory
access for the hardware or the emulator to catch.

So software can occasionally catch memory overflows that logic analyzers
(or the software equivalents) can't.

...seen this in hardware debug before...


Ron Nicholson
HotPaw
http://www.hotpaw.com/rhn/hotpaw/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to