delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/13/09:54:24

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 <cgf-use-the-mailinglist-please AT cygwin DOT com>
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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 
> <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) 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/

- Raw text -


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