Unix Stack Frame Questions
Doug Gwyn
gwyn at smoke.brl.mil
Mon Mar 25 17:52:12 AEST 1991
In article <125 at epic.epic.com> tan at epic.epic.com (Andy Tan) writes:
>1. Is it right to assume that the address of the last automatic
> variable is the bottom of stack frame ?
Certainly not. It is not even correct to assume that there IS a stack
as such; some implementations thread activation records together as
linked segments.
>4. Any better solutions to save and restore stack frame for SunOS 4.x ?
Yes -- figure out what it is that your program REALLY needs to be doing
(saving stack frames cannot possibly be an application requirement),
then devise an alternate solution that uses portable techniques.
More information about the Comp.unix.questions
mailing list