On Mar 11 17:10, 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, but > presumably Cygwin is capable of generating a backtrace because the 'bt' > command works in gdb.
GDB's `bt' implementation has nothing to do with Cygwin's capability to walk a stack. Cygwin only has limited capabilities there which are used to create the stackdump file, see the stack_walk class in exceptions.cc: https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=blob_plain;f=winsup/cygwin/exceptions.cc If you want to create a backtrace(3) function set for Cygwin, feel free: https://cygwin.com/contrib.html I'm certainly not averse to patches... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpKhpGx6s9R8.pgp
Description: PGP signature