From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13303 invoked by alias); 11 Oct 2006 14:01:00 -0000 Received: (qmail 13286 invoked by uid 22791); 11 Oct 2006 14:00:59 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 11 Oct 2006 14:00:52 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GXedd-0006qU-Nq; Wed, 11 Oct 2006 10:00:49 -0400 Date: Wed, 11 Oct 2006 14:01:00 -0000 From: Daniel Jacobowitz To: Andrew STUBBS Cc: Denis PILAT , Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: '\r' only end-of-line Message-ID: <20061011140049.GA26227@nevyn.them.org> Mail-Followup-To: Andrew STUBBS , Denis PILAT , Eli Zaretskii , gdb-patches@sourceware.org References: <452A6905.1040308@st.com> <452B9EB9.4040709@st.com> <452BB767.5000407@st.com> <452CC287.4050401@st.com> <20061011133254.GA25164@nevyn.them.org> <452CF82D.9080000@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <452CF82D.9080000@st.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00113.txt.bz2 On Wed, Oct 11, 2006 at 02:57:01PM +0100, Andrew STUBBS wrote: > Daniel Jacobowitz wrote: > >At CodeSourcery, as we've said before, we ship a native Windows GDB > >and GCC. But for a lot of things we have no way to test the native > >Windows GDB - can't use Cygwin's expect to drive it. > > Huh? I can and do. > > Admittedly I haven't got the Dejagnu testsuite running, but that's just > because Cygwin's Dejagnu is too old and I haven't had time to do > anything about it. I am pretty sure you'll get nasty lossage from, e.g., GDB thinking it's not connected to a terminal. Error messages will show up after prompts, and questions will be suppressed. Actually, if those are the only two, we could probably make the mingw32 GDB cope. Joel posted a patch once to set the buffering. And I could probably put together a GDB-specific isatty that could tell if we were connected to a Cygwin terminal - I know how to do that. Interesting idea... doesn't really change my question in the previous message, but a very interesting idea. -- Daniel Jacobowitz CodeSourcery