Re: what marks the end of stack?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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.



[Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

Add to Google