what marks the end of stack?
Andrew Haley
aph@redhat.com
Fri Mar 30 09:57:00 GMT 2012
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.
More information about the Gcc-help
mailing list