This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: what marks the end of stack?


On 03/30/2012 07:18 AM, Oliver Kowalke wrote:
>> Normally the unwinder returns _URC_END_OF_STACK when it finds a stack
>> > frame with a PC value with no associated FDE.  A specific such PC value
>> > is zero.

> In the example _URC_END_OF_STACK is not returned. A simple memory
> chunk is used as stack. Maybe I've to append a special page at the
> end of the stack - or something else?

Read what Ian wrote, more slowly!  You have to save a PC of zero to
mark the end of the stack.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]