delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
X-pair-Authenticated: | 60.186.12.203 |
Message-ID: | <46B07604.9000605@odd-e.com> |
Date: | Wed, 01 Aug 2007 20:01:08 +0800 |
From: | Bas Vodde <basv AT odd-e DOT com> |
User-Agent: | Thunderbird 1.5.0.12 (Windows/20070509) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Stack traces in own program in cygwin |
X-IsSubscribed: | yes |
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 |
Hi, I'm working on some unit testing framework and was thinking of building in some functionality for stack traces. I checked what functionality is available and found glibc contains execinfo.h with backtrace which can be used (for linux). For Windows, I use gcc and cygwin. I cannot find the execlib.h in cygwin at all, so I'll need to find a different way. In Windows I can probably use the MS dbghelp.dll, but that would create a dependency on Win SDK, which I prefer not having. Does anyone have any idea about this, or is (or will) execinfo.h be available? Any other way of doing it without Win SDK? Tnx Bas Vodde -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |