delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_63,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <499EDE0C.6080409@gmail.com> |
Date: | Fri, 20 Feb 2009 16:45:00 +0000 |
From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Strange freezes when using gdb (rxvt/mintty but not dos box) |
References: | <499ED1CE DOT 1050803 AT onevision DOT de> |
In-Reply-To: | <499ED1CE.1050803@onevision.de> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
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. > The application I want to debug is compiled for mingw. You're trying to use a Cygwin GDB to cross-debug a MinGW (== plain old win32) application. Dunno if that's completely guaranteed to work, but it probably should for simple programs. > So I assume some threading issues here in communication with the > console/terminal from multiple threads... Assumption probably wrong. > 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 working). cheers, DaveK -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |