Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 5 Sep 2001 16:46:53 +0200 From: Corinna Vinschen To: cygwin Subject: Re: gdb and Windows 2000 Message-ID: <20010905164653.A9655@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <3B95B9ED DOT F135CA31 AT mindspring DOT com> <20010905102100 DOT B30380 AT cygbert DOT vinschen DOT de> <3B963855 DOT BC33FC71 AT mindspring DOT 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 AT cygwin DOT 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/