"McCollister, Mike" wrote:

> Thanks for the information.  It turns out that my PilotMain had only one
> variable in the stack.  Well, after reading the Palm development
> documentation, I found that I can't do any UI stuff here.  I guess that if
> really want to do this I would have to set an alarm to 1 second in the
> future and do the stuff there.

Is there any way to look at the disassembly for a function and determine how
much stack space it chews up?

I understand that with nested blocks this sort of thing can start to get tricky.
Or even worse, gcc allows you to allocate variable sized arrays on the stack.
Still, it would be nice if the compiler could kick out data about how much
fixed stack space a function might use.

--
Adam Wozniak                     Senior Software Design Engineer
                                 Surveyor Corporation
[EMAIL PROTECTED]                4548 Broad Street
[EMAIL PROTECTED]          San Luis Obispo, CA 93401



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to