Stack traces in own program in cygwin

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Wed Aug 1 23:38:00 GMT 2007


On Wed, Aug 01, 2007 at 04:31:52PM -0700, Brian Dessent wrote:
>Bas Vodde wrote:
>>Thanks for the reply.  Where can I find the cygwin code that unwinds
>>the stack?  I might have a look at it anyway :)
>
>Look at class stack_info in winsup/cygwin/exceptions.cc.  It's pretty
>simplistic, and I'm pretty sure it will be rendered totally ineffective
>by -fomit-frame-pointer.

Yep.  It will.  That's the reason why we use -fomit-frame-pointer
sparingly when building cygwin.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list