delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/11/13:23:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=L8CI3okC9pLSeekIse6xCqZnHaubkAcI0wMWT73tGa64qnScyOcCj
OOfhaEeenemopIRUpQVWZx8226Sc6XRERtBHvVMQMdsUX/jkcxkQL8m1ERQ/l+WM
lZgL8jWXMKSUBIIUhLTmd0laPt8ccfzj0SiBS0uED/McDCRTEH7iMo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=lBKqQo22LqUE2fQotWb8zDYTMoI=; b=SnE4zNPk/FrMPXK7/ba2heWp915X
DxuK+4nNe3bUMaJLtXECdENXmLOwTVuSZSFfYa8B8x7VmEJ7I60pt8fHU/aQwCBz
QiAVu24HFV04PPU0CUV6ksZTGijxu4fiCrxN/QDCptt16CsQAHDI5xtbebPO/cyd
JqGZfuw6gx8fw3k=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 11 Mar 2015 18:22:44 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: backtrace(3) in Cygwin?
Message-ID: <20150311172244.GL5732@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <550076EC DOT 40808 AT tiscali DOT co DOT uk>
MIME-Version: 1.0
In-Reply-To: <550076EC.40808@tiscali.co.uk>
User-Agent: Mutt/1.5.23 (2014-03-12)

--WdPYQQQ4lIWZ4ZWi
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3Dnewlib-cygwin.git;a=3Dblob_plain;=
f=3Dwinsup/cygwin/exceptions.cc=20

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

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--WdPYQQQ4lIWZ4ZWi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVAHnkAAoJEPU2Bp2uRE+gDs0P/1L7lDReB+nbR2SRP05+nm9q
9QTUFw29XZkT9ta8S+saAKjql2CwUYs81tvVlQOMhAo5d4i7Dc3v1gePV82TLVfN
g22rPtnkjsP6xQNllDaRsNP8fBHD+vgUY0HkFeXusEaP5i6S08Ty6RrvsbEnSSf5
3RAz3aAIfGbMa7Tl7QXTRXL+ugn2HljP3e3psuIbfaaHYM/0aOhZuK88mNAWVG/X
467i1cwWjRvCxVccBqH6ulVF51NdoQFokZ6aCxHO0APEjbn1m4bmdaQNFV9CC5dB
9FdxEKGyuUXBnaqpucRSxnTaZ7gYFqsQjVvAHdJZLUvz3H94K1UrSG8rBBlwzwAw
ArLQOtVZ7jGy2XN+adLXW9jKhG1e3LgYjfsRndTUunGGUk91nXDq63e7UeWsJGYD
0jBAHc0vBHYictm5gvoJbSbAk+MH2sE2lEnXI5CApPjs3lKgcS85PRdAb6zWPFpT
g8Jh0oLGgINt2KQNajZZKLWkXNg4jEXe6RdVMA1D0TLW4WkmvIKZYKpbB5HHDdBi
Jm8GhaFy4NZN0AskUXMTpPSIjQmFf7e3Nb0Vul3tjg+cKqEYdvm8QAV2kGUgxIbo
e7UagtV5Ypg+AAcSXH8XCO2Kc0+oIyn2KeovHDSbCHxaAGyEBYdsNYSTpBe22Qhb
FsyEc3oo4Xjqe5hOcs8/
=M57H
-----END PGP SIGNATURE-----

--WdPYQQQ4lIWZ4ZWi--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019