backtrace(3) in Cygwin?
Yaakov Selkowitz
yselkowitz@cygwin.com
Wed Mar 11 18:21:00 GMT 2015
On Wed, 2015-03-11 at 17:10 +0000, David Stacey wrote:
> Please could you tell me if Cygwin supports backtrace(3) and
> backtrace_symbols(3) [1]? I can't find the execinfo.h header file
It does not. However, if anyone has cycles to implement it, that would
be nice. You may wish to see how WebKit fakes backtrace(3) on Windows
by using RtlCaptureStackBackTrace:
https://trac.webkit.org/browser/trunk/Source/WTF/wtf/Assertions.cpp#L226
https://msdn.microsoft.com/en-us/library/windows/hardware/ff552119.aspx
> presumably Cygwin is capable of generating a backtrace because the 'bt'
> command works in gdb.
No, gdb has it's own implementation to meet its own needs.
--
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list