This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gdb and Windows 2000


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]