X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 13 Mar 2009 10:53:26 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: gdb crashes when debugging setup.exe Message-ID: <20090313145326.GC11253@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <49BA2080 DOT 6050400 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49BA2080.6050400@gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Fri, Mar 13, 2009 at 09:59:44AM +0100, ludo wrote: > Hi, > > I try to debug setup.exe but gdb crashes when I "start" the program > > * I get source of setup from CVS (sources.redhat.com:/cvs/cygwin-apps) and > I build it with > ./doconfigure && make && make install > > * I try to start a debugging session : > > $ gdb ./setup.exe > GNU gdb 6.8.0.20080328-cvs (cygwin-special) > Copyright (C) 2008 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) start > /netrel/src/gdb-6.8-2/gdb/breakpoint.c:5082: internal-error: > expand_line_sal_maybe: Assertion `found' failed. > A problem internal to GDB has been detected, > further debugging may prove unreliable. > Quit this debugging session? (y or n) y > > As I understand, setup.exe is a "mingw" application > my gdb is the "cygwin gdb" > "cygwin gdb" can debug "mingw app" ? (I suppose that is right) > > any suggestions ? Not from me. I use Cygwin's gdb to debug setup.exe all of the time. Sorry. cgf -- 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/