delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <bf0c3b3f0803131626p63d50888t536aa011143d70e3@mail.gmail.com> |
Date: | Fri, 14 Mar 2008 00:26:38 +0100 |
From: | "Mathieu Malaterre" <mathieu DOT malaterre AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Using gdb on cygwin |
MIME-Version: | 1.0 |
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 there, I am trying to track down a seg fault in an app, but running it through gdb does not seems to help. Is there anything I need to know when using gdb on cygwin. For instance here is what I get (notice that I cannot get any backtrace): $ gdb /home/mmalaterre/Projects/CMake-cyg/bin/cpack.exe GNU gdb 6.7.1 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... (gdb) r --config /home/mmalaterre/Projects/gdcm/branches/release-cygwin-cmake -cvs/CPackSourceConfig.cmake Starting program: /home/mmalaterre/Projects/CMake-cyg/bin/cpack.exe --config /ho me/mmalaterre/Projects/gdcm/branches/release-cygwin-cmake-cvs/CPackSourceConfig. cmake CPack: Create package using CygwinSource CPack: Install projects CPack: - Install directory: /home/mmalaterre/Projects/gdcm/branches/gdcm-2-0 CPack: Compress package 9 [sig] cpack 592 open_stackdumpfile: Dumping stack trace to cpack.exe.sta ckdump Program exited with code 0103000. (gdb) bt No stack. Thanks -- Mathieu -- 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 |