X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: Date: Fri, 14 Mar 2008 00:26:38 +0100 From: "Mathieu Malaterre" To: cygwin AT cygwin DOT com Subject: Using gdb on cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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/