Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 5 Sep 2001 16:46:53 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin <cygwin@cygwin.com>
Subject: Re: gdb and Windows 2000
Message-ID: <20010905164653.A9655@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin@cygwin.com>
References: <3B95B9ED.F135CA31@mindspring.com> <20010905102100.B30380@cygbert.vinschen.de> <3B963855.BC33FC71@mindspring.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B963855.BC33FC71@mindspring.com>; from ubell@mindspring.com on Wed, Sep 05, 2001 at 07:36:06AM -0700

On Wed, Sep 05, 2001 at 07:36:06AM -0700, Michael Ubell wrote:
> 
> 
> Corinna Vinschen wrote:
> > 
> > On Tue, Sep 04, 2001 at 10:36:46PM -0700, Michael Ubell wrote:
> > > Has anyone gotten gdb to work on Windows 2000 (with cygwin, of course)?
> > >
> > > Below is a simple program which runs but not under gdb.  I have downloaded
> > > and built gdb but cannot debug it either.  I can run the version
> > > of gdb shipped with cygwin, but it has no symbols.  See below:
> > 
> > Works for me.
> > 
> > Corinna
> 
> 
> Ok, I assume you are running the current downloadable version of cygwin or
> are you using a development version?  Do you know what might be the

I'm using the self build version of Cygwin from CVS.  Just try the
latest developer snapshots.

> problem on my system?  I have tried putting a breakponit at main, but
> it never gets there.  Any ideas on how to proceed?  Cygwin is not very

I'm not sure. Perhaps somebody else could give an hint here.

> useful to me unless I can debug the programs I am writing.
> 
> 
> Can you show me a script of what you ran?  Perhaps I am not compiling with
> the right options or something.

Naah, I did the same what you've described in your original mail.
Nothing else. Setting a breakpoint in main worked, too. 

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

