This is the mail archive of the
mailing list for the Cygwin project.
Re: Strange freezes when using gdb (rxvt/mintty but not dos box)
On Feb 20 12:13, Christopher Faylor wrote:
> On Fri, Feb 20, 2009 at 04:45:00PM +0000, Dave Korn wrote:
> >Roland Schwingel wrote:
> >>gdb freezes upon execution of the inferior process when used from
> >>within mintty/rxvt, but does not freeze when gdb is invoked from a
> >>(conventional) bash inside of a windows DOS box.
> >>But why does it work with DOS box and not using mintty/rxvt???
> >Clue here. You are launching a win32 app, from a cygwin app, in a
> >(non-console-based) GUI window. Won't work. Use a console. See
> >discussions around CYGWIN=tty for full details (which, if you had it
> >set, ought to make the crash occur in a console as well as in
> >rxvt/mintty, but isn't anything you can turn off for rxvt and get it
> Right on, Dave. There are all sorts of potential problems with using
> a cygwin pty/tty and a mingw process.
> So: what he said.
What about the new-console option in Cygwin's GDB to create the inferior
process in a new Console window? Shouldn't that help here, as long as
the pty is actually running in the local GUI session.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html